From 0cf1d4f1774356b1a7c90a45df381fa26ed4f088 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 7 May 2019 22:18:06 -0300 Subject: Missing cast to END() at Monster King Handler --- npc/functions/gmbot.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc') 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. -- cgit v1.2.3-70-g09d2