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 00a85bab..b10806cc 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -66,6 +66,7 @@ D_All:
goto L_Deposit;
L_Deposit:
+ if (zeny < @Ammount) goto L_NoMoney;
set zeny, zeny - @Amount;
set BankAccount, BankAccount + @Amount;
goto L_Balance;