mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fix error with wrong var
This commit is contained in:
parent
91f998a7ed
commit
69a869ed2c
@ -40,7 +40,7 @@ switch (_selVarType) do {
|
||||
_customVarNames = _customVarsInit apply {_x param [0,""]};
|
||||
_defaultVarValues = _customVarsInit apply {_x param [1,0]};
|
||||
_customVarLimits = _customVarsInit apply {_x param [2,[]]};
|
||||
_varName = format["EPOCH_player%1",_selectedVarName];
|
||||
_varName = format["EPOCH_player%1",_selVarName];
|
||||
if (_selVarName in _customVarNames) then {
|
||||
_varNameTmp = call compile format["_player%1Key",_selVarName];
|
||||
if !(isNil "_varNameTmp") then {_varName = _varNameTmp};
|
||||
|
Loading…
Reference in New Issue
Block a user