Fix a bug on sound test music selection

This commit is contained in:
Lucas S. Vieira 2025-01-09 21:27:25 -03:00
parent 9f1f101a95
commit ce494f7871

View file

@ -235,7 +235,7 @@ screen_levelselect_update(void *d)
} else if(data->menu_choice == CHOICE_SOUNDTEST) {
if(data->soundtest_selection > 0) {
sound_bgm_play(data->soundtest_selection - 1);
data->music_selected = data->soundtest_selection;
data->music_selected = data->soundtest_selection - 1;
}
} else {
screen_level_setlevel(data->menu_choice);