[Fix] Always spawn zone controller first (#4669)

This commit is contained in:
Chris Miles
2025-02-11 21:19:15 -06:00
committed by GitHub
parent 432452c5c7
commit 843f6531a7
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -859,9 +859,9 @@ void NPC::Depop(bool start_spawn_timer) {
bool NPC::SpawnZoneController()
{
if (!RuleB(Zone, UseZoneController))
if (!RuleB(Zone, UseZoneController)) {
return false;
}
auto npc_type = new NPCType;
memset(npc_type, 0, sizeof(NPCType));