M_Challenges: only get a random challenge to focus on if you're not about to unlock something

This commit is contained in:
toaster 2022-12-03 16:26:46 +00:00
parent d061dd09fd
commit f25907d7bc

View file

@ -6860,7 +6860,7 @@ void M_Challenges(INT32 choice)
M_InterruptMenuWithChallenges(NULL); M_InterruptMenuWithChallenges(NULL);
MISC_ChallengesDef.prevMenu = currentMenu; MISC_ChallengesDef.prevMenu = currentMenu;
if (gamedata->challengegrid) if (gamedata->challengegrid && !challengesmenu.pending)
{ {
UINT8 selection[MAXUNLOCKABLES]; UINT8 selection[MAXUNLOCKABLES];
UINT8 numunlocks = 0; UINT8 numunlocks = 0;