- Stop music when ending a level, or when going back to the menu in Blood. Also play the sound on Blood's summary screen as an UI sound.

Fixes #349
This commit is contained in:
Christoph Oelckers 2020-09-05 19:20:25 +02:00
parent b4dd006a40
commit a7b198d7ee
5 changed files with 8 additions and 4 deletions

View file

@ -147,6 +147,7 @@ static void GameTicker()
case ga_completed:
FX_StopAllSounds();
FX_SetReverb(0);
Mus_Stop();
if (g_nextmap == currentLevel)
{
// if the same level is restarted, skip any progression stuff like summary screens or cutscenes.