summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/banker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/banker.txt')
-rw-r--r--world/map/npc/functions/banker.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt
index 863f3ce1..8ecb85fb 100644
--- a/world/map/npc/functions/banker.txt
+++ b/world/map/npc/functions/banker.txt
@@ -1,8 +1,10 @@
//
-function|script|Banker|{
-
- if (BankAccount > 0) callsub S_MoveAccount;
+function|script|Banker|,
+{
+ if (BankAccount == 0)
+ goto L_Start;
+ callsub S_MoveAccount;
L_Start:
mes "[" + @npcname$ + "]";