summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/banker.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 62408cd6..32c380b6 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -28,6 +28,7 @@ L_With:
next;
input @Amount;
+ if (#BankAccount < @Amount) goto L_NoMoney;
set zeny, zeny + @Amount;
set #BankAccount, #BankAccount - @Amount;
goto L_Balance;