From f25907d7bcde2f6860f129d47ef30778231085ad Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 3 Dec 2022 16:26:46 +0000 Subject: [PATCH] M_Challenges: only get a random challenge to focus on if you're not about to unlock something --- src/k_menufunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 194c4cc1e..07af02502 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -6860,7 +6860,7 @@ void M_Challenges(INT32 choice) M_InterruptMenuWithChallenges(NULL); MISC_ChallengesDef.prevMenu = currentMenu; - if (gamedata->challengegrid) + if (gamedata->challengegrid && !challengesmenu.pending) { UINT8 selection[MAXUNLOCKABLES]; UINT8 numunlocks = 0;