Fix fresh spawns running on login

Vanilla commit:

cbb1b7ab90
This commit is contained in:
ebayShopper
2017-12-02 17:27:41 -05:00
parent fa0dfd4c47
commit 973247950e
3 changed files with 11 additions and 1 deletions

View File

@@ -205,6 +205,9 @@ if (_randomSpot) then {
diag_log format["%1: Error, failed to find a suitable spawn spot for player. area:%2",__FILE__, _mkr];
};
_worldspace = [0,_position];
//Fresh spawn, clear animationState so anim from last sync does not play on login
_state = ["","reset"];
};
//record player pos locally for server checking