Update blackjack.py

This commit is contained in:
SpudGunMan
2024-09-21 16:59:04 -07:00
parent 1a9093bbdf
commit 2efbfeef8c
+1 -1
View File
@@ -273,7 +273,7 @@ def playBlackJack(nodeID, message):
else:
bet_money = int(message)
if bet_money <= p_chips.total and bet_money > 0:
if bet_money <= p_chips.total or bet_money <= 1:
p_chips.bet = take_bet(bet_money, p_chips.total)
else:
return f"Invalid Bet, the maximum bet you can place is {p_chips.total}"