Skip to content

Commit

Permalink
fix: stop displaying board when everybody folds
Browse files Browse the repository at this point in the history
Fixes: #9
  • Loading branch information
truenicoco committed Dec 19, 2024
1 parent 514ce74 commit 1235166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hh_creator/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def on_pushButtonNext_clicked(self):
self.scene.clear_bet_items()
self.scene.update_total_pot(self.hand_history)
Animations.start()
play_len = self.hand_history.play_length()
play_len = self.hand_history.play_length() - (Street.RIVER - self.hand_history.last_action.street)
if self.replay_action_cursor == play_len - 4:
sounds["street"].play()
self.scene.show_flop()
Expand Down

0 comments on commit 1235166

Please sign in to comment.