mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
debug
This commit is contained in:
parent
57d85a8373
commit
e11e60d209
@ -20,6 +20,8 @@ _index = EPOCH_spawnIndex find _spawnName;
|
|||||||
if (_index != -1) then{
|
if (_index != -1) then{
|
||||||
_playerSpawnArrayKeyFinal = "EPOCH_playerSpawnArray";
|
_playerSpawnArrayKeyFinal = "EPOCH_playerSpawnArray";
|
||||||
if !(isNil "_playerSpawnArrayKey") then {_playerSpawnArrayKeyFinal = _playerSpawnArrayKey};
|
if !(isNil "_playerSpawnArrayKey") then {_playerSpawnArrayKeyFinal = _playerSpawnArrayKey};
|
||||||
|
|
||||||
_playerSpawnArray = missionNamespace getVariable [_playerSpawnArrayKeyFinal,[]];
|
_playerSpawnArray = missionNamespace getVariable [_playerSpawnArrayKeyFinal,[]];
|
||||||
|
diag_log format["DEBUG: %1 %2",_playerSpawnArrayKeyFinal,_playerSpawnArray];
|
||||||
_playerSpawnArray set[_index, ((_playerSpawnArray select _index) + _increase) min (EPOCH_spawnLimits select _index)];
|
_playerSpawnArray set[_index, ((_playerSpawnArray select _index) + _increase) min (EPOCH_spawnLimits select _index)];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user