summaryrefslogtreecommitdiff
path: root/npc/003-9/gambler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-9/gambler.txt')
-rw-r--r--npc/003-9/gambler.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/003-9/gambler.txt b/npc/003-9/gambler.txt
index bb7e12b3c..315117660 100644
--- a/npc/003-9/gambler.txt
+++ b/npc/003-9/gambler.txt
@@ -255,6 +255,7 @@ L_Spin:
sleep2(10);
}
showavatar 1301+.@val;
+ if (.@bet < 1 || .@bet > countitem(CasinoCoins)) end;
delitem CasinoCoins, .@bet;
// Note that "0" doesn't count toward pretty much anything