summaryrefslogtreecommitdiff
path: root/npc/functions/gmbot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-07 22:18:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-07 22:18:06 -0300
commit0cf1d4f1774356b1a7c90a45df381fa26ed4f088 (patch)
tree3235a56b1f8fd7aa0fecea3099eb2d4c216f85ee /npc/functions/gmbot.txt
parent27f5c76c44305a42f903080e91f0391f3ed8eb9a (diff)
downloadserverdata-0cf1d4f1774356b1a7c90a45df381fa26ed4f088.tar.gz
serverdata-0cf1d4f1774356b1a7c90a45df381fa26ed4f088.tar.bz2
serverdata-0cf1d4f1774356b1a7c90a45df381fa26ed4f088.tar.xz
serverdata-0cf1d4f1774356b1a7c90a45df381fa26ed4f088.zip
Missing cast to END() at Monster King Handler
Diffstat (limited to 'npc/functions/gmbot.txt')
-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.