mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #602 from Ignatz-HeMan/patch-4
Update EPOCH_spawnLoot.sqf
This commit is contained in:
commit
834f0ff346
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user