Update EPOCH_spawnLoot.sqf

This commit is contained in:
He-Man 2016-08-26 18:33:19 +02:00 committed by GitHub
parent 5494847755
commit 67eb8bc114

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 {