dont keep music if there is no music

This commit is contained in:
Alug committed 2025-01-16 00:57:39 +01:00
1 parent de8ffbfd60
commit 6b5517ee2c
1 file changed
+1 -1
+1 -1
View File
@@ -2000,7 +2000,7 @@ void S_CheckMap(void)
return;
}
keepmusic = (!skipmusic && gamestate == GS_LEVEL && oldmap == gamemap && oldencore == encoremode);
keepmusic = (!skipmusic && (gamestate == GS_LEVEL) && (music_name[0] != 0) && (oldmap == gamemap) && (oldencore == encoremode));
//CONS_Printf("keepmusic = %s\n", keepmusic);