move params

This commit is contained in:
vbawol 2017-10-23 13:57:55 -05:00
parent 258d6c82d9
commit 0861ab0b97
2 changed files with 1 additions and 1 deletions

View File

@ -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");

View File

@ -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;
};