forked from minecartchris/CC-Casnio
fix crash
This commit is contained in:
@@ -89,7 +89,7 @@ money = tonumber(money)
|
|||||||
print("what is your bet?")
|
print("what is your bet?")
|
||||||
local bet = io.read()
|
local bet = io.read()
|
||||||
bet = tonumber(bet)
|
bet = tonumber(bet)
|
||||||
if bet < 20 then
|
if not bet or bet < 20 then
|
||||||
bet = 20
|
bet = 20
|
||||||
end
|
end
|
||||||
if bet > money then
|
if bet > money then
|
||||||
|
|||||||
Reference in New Issue
Block a user