修复停牌操作的字典key错误

This commit is contained in:
2025-10-31 16:27:15 +08:00
parent b07b044035
commit 3f3c21c3d6

View File

@@ -1144,7 +1144,7 @@ class CasinoGame(BaseGame):
for bet in bets:
player_hand = all_hands.get(bet['user_id'])
if player_hand and player_hand['hand_status'] == 'playing':
if player_hand and player_hand['status'] == 'playing':
all_players_done = False
break
@@ -1205,7 +1205,7 @@ class CasinoGame(BaseGame):
for bet in bets:
player_hand = all_hands.get(bet['user_id'])
if player_hand and player_hand['hand_status'] == 'playing':
if player_hand and player_hand['status'] == 'playing':
all_players_done = False
break