dont keep music if there is no music

This commit is contained in:
Alug committed 2025-01-19 17:23:45 +01:00
1 parent 8dc2d22996
commit a29f8d5f38
1 file changed
+1 -1
+1 -1
View File
@@ -2008,7 +2008,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);