From e11e60d209cfbb7c0679202043e2f1490d9bfe85 Mon Sep 17 00:00:00 2001 From: vbawol Date: Sat, 30 Sep 2017 09:34:16 -0500 Subject: [PATCH] debug --- Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf b/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf index 0a10858b..9910c394 100644 --- a/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf +++ b/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf @@ -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)]; };