diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-05-11 22:43:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-05-11 22:43:44 -0300 |
commit | 9dd64f8fee1321452a55aa39ea163f4b67683471 (patch) | |
tree | 915560b190c5fb844ffc5667f2fbcc5b4f00f85a /npc/003-3 | |
parent | 85edd8bd0ef4236809be8cc77f4d17c835d81491 (diff) | |
download | serverdata-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.txt | 4 |
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; } |