Epoch/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf
2015-09-14 15:55:36 -05:00

5 lines
187 B
Plaintext

_index = EPOCH_spawnIndex find _this;
if (_index != -1) then{
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) + 1) min (EPOCH_spawnLimits select _index)];
};