mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Update EPOCH_spawnLoot.sqf
This commit is contained in:
parent
5494847755
commit
67eb8bc114
@ -80,7 +80,10 @@ if ((random 100) < _lootBias) then {
|
|||||||
|
|
||||||
EPOCH_lootObjects pushBack _item;
|
EPOCH_lootObjects pushBack _item;
|
||||||
if (count EPOCH_lootObjects > _lootObjectLimit) then {
|
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 {
|
if (surfaceIsWater _pos) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user