Skip to content

Commit

Permalink
- fixed: When loading a savegame without music, stop any playing music.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Feb 25, 2020
1 parent 9945131 commit c045096
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/common/music/music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,10 @@ void S_RestartMusic ()
mus_playing.LastSong = "";
S_ChangeMusic (song, mus_playing.baseorder, mus_playing.loop, true);
}
else
{
S_StopMusic(true);
}
}

//==========================================================================
Expand Down

0 comments on commit c045096

Please sign in to comment.