mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +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 = {
|
sched_spawnCheck = {
|
||||||
HIDE_FSM_VARS
|
HIDE_FSM_VARS
|
||||||
if (scriptDone _this) then {
|
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;
|
_this;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user