From 0c455178412cdb8a0ee9029830b72f5702f03366 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 3 Apr 2019 15:09:55 -0300 Subject: I wonder if end(); superseeds return();? --- npc/006-1/crazyfefe.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/006-1/crazyfefe.txt') diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 1f6c95cf8..fffbaec9c 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -134,7 +134,7 @@ function Challenge { // We must begin at once, so ignore normal procedure if (!@menuret) { closeclientdialog; - goto L_StartFight; + StartFight(); } // Give you a bonus for starting the fight, and announce the fight. @@ -325,7 +325,7 @@ OnTimer5000: //OnTimer30000: // If you need to start without 5 minutes delay, this line must be uncommented. OnTimer300000: if ($@FEFE_CAVE_LEVEL > 0) end; - if ($@FEFE_DELAY <= gettimetick(2)) goto L_StartFight; + if ($@FEFE_DELAY <= gettimetick(2)) StartFight(); announce $@FEFE_CAVE_HERO$+" invites everyone to a challenge against Candor Cave. It'll start in "+FuzzyTime($@FEFE_DELAY,2,2)+". Prepare yourselves!", bc_all|bc_npc; initnpctimer; end; -- cgit v1.2.3-70-g09d2