修复停牌操作的字典key错误
This commit is contained in:
@@ -1144,7 +1144,7 @@ class CasinoGame(BaseGame):
|
|||||||
|
|
||||||
for bet in bets:
|
for bet in bets:
|
||||||
player_hand = all_hands.get(bet['user_id'])
|
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
|
all_players_done = False
|
||||||
break
|
break
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ class CasinoGame(BaseGame):
|
|||||||
|
|
||||||
for bet in bets:
|
for bet in bets:
|
||||||
player_hand = all_hands.get(bet['user_id'])
|
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
|
all_players_done = False
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user