mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Fix] Always spawn zone controller first (#4669)
This commit is contained in:
+2
-2
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user