mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-19 04:28:22 +00:00
Fix repop crash
This commit is contained in:
@@ -24,9 +24,10 @@ void command_repop(Client *c, const Seperator *sep)
|
||||
|
||||
if (!sep->IsNumber(timearg)) {
|
||||
c->Message(Chat::White, "Zone depopped - repopping now.");
|
||||
|
||||
|
||||
zone->spawn2_timer.Disable();
|
||||
zone->Repop();
|
||||
|
||||
zone->spawn2_timer.Enable();
|
||||
/* Force a spawn2 timer trigger so we don't delay actually spawning the NPC's */
|
||||
zone->spawn2_timer.Trigger();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user