From 1a9093bbdfb9795e3724a225d1326cfc6567f363 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sat, 21 Sep 2024 16:47:04 -0700 Subject: [PATCH] Update blackjack.py --- modules/blackjack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blackjack.py b/modules/blackjack.py index db1d5c1..5ff959c 100644 --- a/modules/blackjack.py +++ b/modules/blackjack.py @@ -273,7 +273,7 @@ def playBlackJack(nodeID, message): else: bet_money = int(message) - if bet_money < p_chips.total or bet_money <= 0: + if bet_money <= p_chips.total and bet_money > 0: 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}"