Merge pull request #602 from Ignatz-HeMan/patch-4

Update EPOCH_spawnLoot.sqf
This commit is contained in:
vbawol 2016-08-26 13:02:41 -05:00 committed by GitHub
commit 834f0ff346

View File

@ -80,7 +80,10 @@ if ((random 100) < _lootBias) then {
EPOCH_lootObjects pushBack _item;
if (count EPOCH_lootObjects > _lootObjectLimit) then {
deleteVehicle (EPOCH_lootObjects deleteAt 0);
_delete = EPOCH_lootObjects deleteAt 0;
if (!isnull _delete) then {
deleteVehicle _delete;
};
};
if (surfaceIsWater _pos) then {