From c669ddff4c30d3449027c75b989e320812566bd1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 29 May 2021 22:17:21 +0000 Subject: Just make sure negative numbers won't cause bugs --- npc/functions/banker.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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) { -- cgit v1.2.3-60-g2f50