diff --git a/prog2/slotV2.lua b/prog2/slotV2.lua index 3b88e29..6ae0209 100644 --- a/prog2/slotV2.lua +++ b/prog2/slotV2.lua @@ -139,6 +139,7 @@ local function run() local bet_input = tonumber(input("Bet: ")) if money < bet_input then print("please get more money or bet less as you can't bet more then you have") + return end local final = draw() local current = {nil, nil, nil}