one last fix...

This commit is contained in:
vbawol 2017-09-26 16:51:53 -05:00
parent 69a869ed2c
commit c4bf9c65ee

View File

@ -29,7 +29,7 @@ _customVarLimits = _customVarsInit apply {_x param [2,[]]};
_varDefault = _defaultVarValues select _foreachindex; _varDefault = _defaultVarValues select _foreachindex;
call compile format['if (isNil "_player%1Key") then {_player%1Key = "EPOCH_player%1"}; call compile format['if (isNil "_player%1Key") then {_player%1Key = "EPOCH_player%1"};
_varLimits params [["_player%1Max",100],["_player%1Min",0]]; _varLimits params [["_player%1Max",100],["_player%1Min",0]];
_player%1 = missionNamespace getVariable [_player%1Key, _varDefault]; _player%1 = missionNamespace getVariable ["_player%1Key", _varDefault];
',_x]; ',_x];
} forEach _customVarNames; } forEach _customVarNames;