mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
one last fix...
This commit is contained in:
parent
69a869ed2c
commit
c4bf9c65ee
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user