Lose chime plays fully when sound is on

This commit is contained in:
David Volovskiy 2025-08-31 09:44:46 -04:00
parent 8c59215385
commit e6b8be4676

View File

@ -431,10 +431,10 @@ static void display_lose_screen(endless_runner_state_t *state) {
game_state.curr_score = 0;
watch_clear_display();
watch_display_text(WATCH_POSITION_BOTTOM, " LOSE ");
if (state -> soundOn)
if (state -> soundOn) {
watch_buzzer_play_sequence(lose_tune, NULL);
else
delay_ms(600);
}
}
static void display_obstacle(bool obstacle, int grid_loc, endless_runner_state_t *state) {