Fix(NHL): Remove undefined data_changed check in live manager update

This commit is contained in:
ChuckBuilds
2025-05-03 20:53:01 -05:00
parent e5dd06a90e
commit baf9e29e05

View File

@@ -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: