summaryrefslogtreecommitdiff
path: root/npc/003-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-11 22:43:44 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-11 22:43:44 -0300
commit9dd64f8fee1321452a55aa39ea163f4b67683471 (patch)
tree915560b190c5fb844ffc5667f2fbcc5b4f00f85a /npc/003-3
parent85edd8bd0ef4236809be8cc77f4d17c835d81491 (diff)
downloadserverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.gz
serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.bz2
serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.tar.xz
serverdata-9dd64f8fee1321452a55aa39ea163f4b67683471.zip
Disable your bank account (temporarily) while you're in the past.
Diffstat (limited to 'npc/003-3')
-rw-r--r--npc/003-3/malindou.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 8edc01769..540f1df55 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -820,7 +820,9 @@ OnInterIfInitOnce:
OnPCLoginEvent:
// Vault override
if (#MerchantBank) {
- BankVault += max(0, #MerchantBank);
+ if (#MerchantBank < 0)
+ consolebug("Negative bank data for %s!", strcharinfo(0));
+ BankVault += #MerchantBank;
#MerchantBank = 0;
}