From bc66a98377575c7c8e9592e50cbdcf083d6ecaff Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 28 Jun 2013 11:41:36 -0700 Subject: Refactor all calls within an if, which is illegal --- world/map/npc/functions/banker.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'world/map/npc/functions/banker.txt') diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt index 863f3ce1..42348957 100644 --- a/world/map/npc/functions/banker.txt +++ b/world/map/npc/functions/banker.txt @@ -2,7 +2,9 @@ function|script|Banker|{ - if (BankAccount > 0) callsub S_MoveAccount; + if (BankAccount == 0) + goto L_Start; + callsub S_MoveAccount; L_Start: mes "[" + @npcname$ + "]"; -- cgit v1.2.3-60-g2f50