Epoch/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf

5 lines
155 B
Plaintext
Raw Normal View History

2015-09-14 20:55:36 +00:00
_index = EPOCH_spawnIndex find _this;
if (_index != -1) then{
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) - 1) max 0];
};