mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-05 06:49:34 +03:00
Delay cleanup exec - fix restart issue on +50 Slots server
This commit is contained in:
1 parent
8ecf61184a
commit
04745cd0e9
1 file changed
+5
-2
@@ -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
|
||||||
waitUntil {!isNil "server_spawnCleanAnimals"};
|
[] spawn {
|
||||||
_id = [] execFSM "\z\addons\dayz_server\system\server_cleanup.fsm";
|
sleep 120; //Sleep Lootcleanup, don't need directly cleanup on startup + fix some performance issues on serverstart
|
||||||
|
waitUntil {!isNil "server_spawnCleanAnimals"};
|
||||||
|
_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