Remove needless recompile of player_spawnCheck

This was recompiling it every six seconds unnecessarily.
This commit is contained in:
ebayShopper
2017-02-24 15:43:37 -05:00
parent 6736cd92ff
commit bb6acc4e7b

View File

@@ -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;
};