修复停牌操作的字典key错误
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user