minor fixes

This commit is contained in:
Anthony Samms
2025-11-02 18:29:46 -05:00
parent a1bc58b5ea
commit f93accd4a1
16 changed files with 60 additions and 55 deletions

View File

@@ -128,7 +128,7 @@ class TwoPlayerSongSelectScreen(SongSelectScreen):
super()._cancel_selection()
self.player_2.selected_song = False
def _confirm_selection(self, player_selected: int):
def _confirm_selection(self, player_selected: int = 1):
"""Confirm song selection and create game transition"""
audio.play_sound('don', 'sound')
audio.play_sound(f'voice_start_song_{global_data.player_num}p', 'voice')
@@ -160,7 +160,7 @@ class TwoPlayerSongSelectScreen(SongSelectScreen):
self.game_transition.start()
logger.info(f"Game transition started for song: {title} - {subtitle}")
def update_players(self, current_time):
def update_players(self, current_time) -> str:
self.player_1.update(current_time)
self.player_2.update(current_time)
if self.text_fade_out.is_finished: