Fix autorun freeze when spamming key

This commit is contained in:
ebayShopper
2017-12-21 13:23:23 -05:00
parent 76cff85fc1
commit 2c83f2dfe4
3 changed files with 10 additions and 7 deletions

View File

@@ -1074,12 +1074,14 @@ class FSM
"} else {" \n
" _currentWpn = ""Makarov"";" \n
" _currentAnim = ""aidlpercmstpsraswpstdnon_player_idlesteady02"";" \n
" //Prevent fresh spawns running on login when they died running, switchMove does not stop it" \n
" disableUserInput true;" \n
" player playActionNow 'Stop';" \n
" disableUserInput false;" \n
" disableUserInput true;" \n
" disableUserInput false;" \n
" if (speed player > 0) then {" \n
" //Prevent fresh spawns running on login when they died running, switchMove does not stop it" \n
" disableUserInput true;" \n
" player playActionNow 'Stop';" \n
" disableUserInput false;" \n
" disableUserInput true;" \n
" disableUserInput false;" \n
" };" \n
"};" \n
"" \n
"reload player;" \n