Merge pull request from SirDice/patch-1

Missed variable rename in EPOCH_server_spawnBoatLoot.sqf
This commit is contained in:
DirtySanchez 2017-11-20 14:40:04 -06:00 committed by GitHub
commit da089b2ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,11 +78,11 @@ if (getNumber(_cfgEpoch >> "shipwreckLootEnabled") isEqualTo 1) then {
}; };
_rEvents = missionNameSpace getVariable["EPOCH_RunningEvents",[]]; _rEvents = missionNameSpace getVariable["EPOCH_RunningEvents",[]];
_thisEvent = [_position, [_item], [], "shipwreckCounter", diag_tickTime, 99999, _showBoatMarkers, _markers, _originalColors, _decayMarkerColor, _compromisedColor]; _thisEvent = [_position, [_item], [], "shipwreckCounter", diag_tickTime, 99999, _showMarkers, _markers, _originalColors, _decayMarkerColor, _compromisedColor];
missionNameSpace setVariable["EPOCH_RunningEvents",_rEvents + [_thisEvent]]; missionNameSpace setVariable["EPOCH_RunningEvents",_rEvents + [_thisEvent]];
}; };
}; };
if(_debug)then{ if(_debug)then{
diag_log format["EPOCHDebug: Safely spawned %1 loot container(s) at these shipwreck locations:%2",count _spawnedLoot , _spawnedLoot]; diag_log format["EPOCHDebug: Safely spawned %1 loot container(s) at these shipwreck locations:%2",count _spawnedLoot , _spawnedLoot];
}; };
}; };