diff --git a/Sources/epoch_code/compile/setup/EPOCH_masterLoop.sqf b/Sources/epoch_code/compile/setup/EPOCH_masterLoop.sqf index 88fb13c6..c7df0a34 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_masterLoop.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_masterLoop.sqf @@ -22,6 +22,7 @@ NOTHING */ disableSerialization; +params [["_currentAnimationState",""]]; _config = 'CfgMasterLoop' call EPOCH_returnConfig; _build_sqf = preprocessFile getText (_config >> "Init" >> "file"); _configs = "true" configClasses (_config >> "Events"); diff --git a/Sources/epoch_code/compile/setup/masterLoop/init.sqf b/Sources/epoch_code/compile/setup/masterLoop/init.sqf index e0774647..de9673ae 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/init.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/init.sqf @@ -3,7 +3,6 @@ waitUntil {!isNull (findDisplay 46) && (!isNil "EPOCH_loadingScreenDone")}; // test to set last animation state -params [["_currentAnimationState",""]]; if (["CfgEpochClient", "setAnimStateEnabled", false] call EPOCH_fnc_returnConfigEntryV2) then { player playMoveNow _currentAnimationState; };