From 1235166a896afdac83a864ac1e4591c935f9a4c0 Mon Sep 17 00:00:00 2001 From: nicoco Date: Thu, 19 Dec 2024 11:12:41 +0100 Subject: [PATCH] fix: stop displaying board when everybody folds Fixes: https://github.com/truenicoco/hh-creator/issues/9 --- hh_creator/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hh_creator/main_window.py b/hh_creator/main_window.py index 5714b92..6264eae 100644 --- a/hh_creator/main_window.py +++ b/hh_creator/main_window.py @@ -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()