mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove needless recompile of player_spawnCheck
This was recompiling it every six seconds unnecessarily.
This commit is contained in:
@@ -4,7 +4,7 @@ sched_spawnCheck_init = { []spawn{} };
|
||||
sched_spawnCheck = {
|
||||
HIDE_FSM_VARS
|
||||
if (scriptDone _this) then {
|
||||
_this = [] execVM '\z\addons\dayz_code\compile\player_spawnCheck.sqf'; // stuffed with "sleep" commands, can't put it in scheduler
|
||||
_this = [] spawn player_spawnCheck; // calls buildingSpawnZombies --> zombie_generate which uses sleep, can't put in scheduler
|
||||
};
|
||||
_this;
|
||||
};
|
||||
Reference in New Issue
Block a user