This commit is contained in:
vbawol 2017-09-30 09:34:16 -05:00
parent 57d85a8373
commit e11e60d209

View File

@ -20,6 +20,8 @@ _index = EPOCH_spawnIndex find _spawnName;
if (_index != -1) then{
_playerSpawnArrayKeyFinal = "EPOCH_playerSpawnArray";
if !(isNil "_playerSpawnArrayKey") then {_playerSpawnArrayKeyFinal = _playerSpawnArrayKey};
_playerSpawnArray = missionNamespace getVariable [_playerSpawnArrayKeyFinal,[]];
diag_log format["DEBUG: %1 %2",_playerSpawnArrayKeyFinal,_playerSpawnArray];
_playerSpawnArray set[_index, ((_playerSpawnArray select _index) + _increase) min (EPOCH_spawnLimits select _index)];
};