mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
handle incorrect index with param command
This commit is contained in:
parent
b9fffd4cb9
commit
589c05f597
@ -26,4 +26,5 @@ _gIdx = -1;
|
||||
if ((_x select 0) isEqualTo _gName) exitWith {_gIdx = _forEachIndex};
|
||||
} forEach rmx_var_dynamicHUD_groupCTRL;
|
||||
if (_gIdx == -1) exitWith {controlNull};
|
||||
(rmx_var_dynamicHUD_groupCTRL select _gIdx) select _cIdx
|
||||
|
||||
((rmx_var_dynamicHUD_groupCTRL select _gIdx) param [_cIdx,controlNull])
|
||||
|
Loading…
Reference in New Issue
Block a user