mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Merge pull request #1495 from ebaydayz/patch-5
Change count back to forEach
This commit is contained in:
@@ -863,7 +863,7 @@ server_spawnCleanLoot = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
sleep 0.001;
|
sleep 0.001;
|
||||||
} count _missionObjs;
|
} forEach _missionObjs;
|
||||||
if (_delQty > 0) then {
|
if (_delQty > 0) then {
|
||||||
_qty = count _missionObjs;
|
_qty = count _missionObjs;
|
||||||
diag_log (format["CLEANUP: Deleted %1 Loot Piles out of %2",_delQty,_qty]);
|
diag_log (format["CLEANUP: Deleted %1 Loot Piles out of %2",_delQty,_qty]);
|
||||||
@@ -894,7 +894,7 @@ server_spawnCleanAnimals = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
sleep 0.001;
|
sleep 0.001;
|
||||||
} count _missonAnimals;
|
} forEach _missonAnimals;
|
||||||
if (_delQtyAnimal > 0) then {
|
if (_delQtyAnimal > 0) then {
|
||||||
_qty = count _missonAnimals;
|
_qty = count _missonAnimals;
|
||||||
diag_log (format["CLEANUP: Deleted %1 Animals out of %2",_delQtyAnimal,_qty]);
|
diag_log (format["CLEANUP: Deleted %1 Animals out of %2",_delQtyAnimal,_qty]);
|
||||||
|
|||||||
Reference in New Issue
Block a user