superRaptor911 / WarZone_2

Top down multiplayer shooting game made using godot engine for android
18 stars 7 forks source link

Peer crashes in survival mode. #19

Closed superRaptor911 closed 4 years ago

superRaptor911 commented 4 years ago

It is because gdnative(CPP) tried to write at null.

fix


        Node2D *skin = static_cast<Node2D *>(_parent->get_node("skin"));
    skin->set("multiplier",speed_mul);
    skin->set("is_walking",is_walking);;

skin is null here.