mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Delay cleanup exec - fix restart issue on +50 Slots server
This commit is contained in:
@@ -333,8 +333,11 @@ if (isServer and isNil "sm_done") then {
|
|||||||
// Epoch Events
|
// Epoch Events
|
||||||
_id = [] spawn server_spawnEvents;
|
_id = [] spawn server_spawnEvents;
|
||||||
// server cleanup
|
// server cleanup
|
||||||
|
[] spawn {
|
||||||
|
sleep 120; //Sleep Lootcleanup, don't need directly cleanup on startup + fix some performance issues on serverstart
|
||||||
waitUntil {!isNil "server_spawnCleanAnimals"};
|
waitUntil {!isNil "server_spawnCleanAnimals"};
|
||||||
_id = [] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm";
|
_id = [] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm";
|
||||||
|
};
|
||||||
|
|
||||||
// spawn debug box
|
// spawn debug box
|
||||||
_debugMarkerPosition = getMarkerPos "respawn_west";
|
_debugMarkerPosition = getMarkerPos "respawn_west";
|
||||||
|
|||||||
Reference in New Issue
Block a user