summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-29 22:17:21 +0000
committerJesusaves <cpntb1@ymail.com>2021-05-29 22:17:21 +0000
commitc669ddff4c30d3449027c75b989e320812566bd1 (patch)
treeeed5f48d6612a0285f192667b7139cf7711484f3
parent0854bec5c8f143ff3858ba0b2b3dd3245abe89a9 (diff)
downloadserverdata-c669ddff4c30d3449027c75b989e320812566bd1.tar.gz
serverdata-c669ddff4c30d3449027c75b989e320812566bd1.tar.bz2
serverdata-c669ddff4c30d3449027c75b989e320812566bd1.tar.xz
serverdata-c669ddff4c30d3449027c75b989e320812566bd1.zip
Just make sure negative numbers won't cause bugs
-rw-r--r--npc/functions/banker.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index a0081278..5692d238 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -127,7 +127,7 @@ function script Banker {
l("I would like to store some items."),
l("I would like to perform money transactions."),
l("Did I received any mail?"),
- rif(getcharid(2), l("I would like to open Guild Storage.")),
+ rif(getcharid(2) > 0, l("I would like to open Guild Storage.")),
l("Bye.");
switch (@menu) {