Prevent cap music from playing on disconnect (#227)

This commit is contained in:
Agent X 2022-11-12 21:38:37 -05:00 committed by GitHub
parent f815a53080
commit d8c908c588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1486,6 +1486,7 @@ void update_menu_level(void) {
gMarioState->intendedMag = 0;
// figure out music
stop_cap_music();
if (!configMenuSound || curLevel == LEVEL_CASTLE_GROUNDS) {
reset_volume();
disable_background_sound();