Titlemap fix: Don't update menujam

This commit is contained in:
toaster 2023-10-24 23:08:29 +01:00
parent 4e2cc4bc34
commit dcd3815228

View file

@ -7953,9 +7953,14 @@ static void P_InitGametype(void)
G_RecordDemo(buf);
}
// Started a game? Move on to the next jam when you go back to the title screen
CV_SetValue(&cv_menujam_update, 1);
gamedata->musicstate = GDMUSIC_NONE;
if (gamestate != GS_TITLESCREEN)
{
// Started a game? Move on to the next jam when you go back to the title screen
// this permits all but titlescreen, instead of only GS_LEVEL
// because that one's way too easy to activate again and again
CV_SetValue(&cv_menujam_update, 1);
gamedata->musicstate = GDMUSIC_NONE;
}
}
struct minimapinfo minimapinfo;