mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix autorun freeze when spamming key
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
[FIXED] Death camera height incorrect when player dies above terrain level
|
||||
[FIXED] Duplicate weapon error when player dies with the same weapon in hands and on back
|
||||
[FIXED] Vehicle getOut event handler no longer runs on M240 Nest and other static weapons.
|
||||
[FIXED] Autorun no longer freezes players when they spam the key or attempt to reactivate it near a body of water.
|
||||
|
||||
[NOTE] Fixes below were included in hotfix 1.0.6.1A (March 10th 2017) and are now in the default files.
|
||||
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
|
||||
|
||||
@@ -155,7 +155,7 @@ if (!isDedicated) then {
|
||||
player_checkRecipe = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_checkRecipe.sqf";
|
||||
|
||||
// EPOCH ADDITIONS
|
||||
dayz_autoRunOff = {dayz_autoRun = false; terminate dayz_autoRunThread; player playActionNow "Stop";};
|
||||
dayz_autoRunOff = {dayz_autoRun = false; terminate dayz_autoRunThread; if (speed player > 0) then {player playActionNow "Stop"};};
|
||||
dog_findTargetAgent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\dog_findTargetAgent.sqf";
|
||||
dze_deathMessage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\dze_deathMessage.sqf";
|
||||
dze_filterCheats = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_filterCheats.sqf";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user