Let Profile menu music play in the Tutorial

This commit is contained in:
James R 2024-02-26 21:59:55 -08:00
parent b48924f539
commit f052228854

View file

@ -436,8 +436,7 @@ void M_PlayMenuJam(void)
const boolean trulystarted = M_GameTrulyStarted(); const boolean trulystarted = M_GameTrulyStarted();
const boolean profilemode = ( const boolean profilemode = (
trulystarted optionsmenu.profilemenu
&& optionsmenu.profilemenu
&& !optionsmenu.resetprofilemenu && !optionsmenu.resetprofilemenu
); );
@ -449,7 +448,9 @@ void M_PlayMenuJam(void)
return; return;
} }
if (!trulystarted) // trulystarted == false in the Tutorial.
// But profile menu music should play during the Tutorial (Playing()).
if (!trulystarted && !Playing())
{ {
if (M_GonerMusicPlayable() && NotCurrentlyPlaying("_GONER")) if (M_GonerMusicPlayable() && NotCurrentlyPlaying("_GONER"))
{ {