From baf9e29e05e41aa2dea5402b1d41d43cf217bc4a Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Sat, 3 May 2025 20:53:01 -0500 Subject: [PATCH] Fix(NHL): Remove undefined data_changed check in live manager update --- src/nhl_managers.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/nhl_managers.py b/src/nhl_managers.py index 04a6bb6c..cbbfdeaa 100644 --- a/src/nhl_managers.py +++ b/src/nhl_managers.py @@ -640,7 +640,7 @@ class NHLLiveManager(BaseNHLManager): self.last_game_switch = current_time # Update display if data changed, limit rate - if data_changed and current_time - self.last_display_update >= 1.0: + if current_time - self.last_display_update >= 1.0: # self.display(force_clear=True) # REMOVED: DisplayController handles this self.last_display_update = current_time @@ -657,11 +657,6 @@ class NHLLiveManager(BaseNHLManager): # self.display(force_clear=True) # REMOVED: DisplayController handles this self.last_display_update = current_time # Track time for potential display update - # If data changed for the *current* game, consider updating display (rate limited) - elif data_changed and current_time - self.last_display_update >= 1.0: - # self.display(force_clear=True) # REMOVED: DisplayController handles this - self.last_display_update = current_time - def display(self, force_clear: bool = False): """Display live game information.""" if not self.current_game: