summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/gmbot.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/gmbot.txt b/npc/functions/gmbot.txt
index 3e0cc2a2d..caa44cedd 100644
--- a/npc/functions/gmbot.txt
+++ b/npc/functions/gmbot.txt
@@ -70,8 +70,10 @@ OnTimer90000:
}
// We are on an event, so skip this loop
- if ($@MK_SCENE || $@GM_EVENT)
+ if ($@MK_SCENE || $@GM_EVENT) {
initnpctimer;
+ end;
+ }
// The Monster King is online. This loop is not needed
if (isloggedin(.aid, .cid)) {
@@ -95,6 +97,7 @@ OnTimer90000:
if (.mp$ != "boss")
unitwarp($@MK, "boss", 45, 45);
initnpctimer;
+ end;
}
// Select a random map. Never shows up at Candor and cities, nor indoors. Not all maps either.