Files
DayZ-Epoch/SQF/dayz_code/system/scheduler/sched_spawnCheck.sqf
ebayShopper bb6acc4e7b Remove needless recompile of player_spawnCheck
This was recompiling it every six seconds unnecessarily.
2017-02-24 15:43:37 -05:00

10 lines
274 B
Plaintext

#include "scheduler.hpp"
sched_spawnCheck_init = { []spawn{} };
sched_spawnCheck = {
HIDE_FSM_VARS
if (scriptDone _this) then {
_this = [] spawn player_spawnCheck; // calls buildingSpawnZombies --> zombie_generate which uses sleep, can't put in scheduler
};
_this;
};