mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Addons menu: Show unlocks after backing out
- For the Addons unlock condition. - Also forbids having menu flow interrupted with challenges if you're in-game
This commit is contained in:
parent
558d3dc842
commit
4db0affd2b
2 changed files with 4 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ void M_HandleAddons(INT32 choice)
|
||||||
//MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED);
|
//MainMenu[secrets].status = (M_AnySecretUnlocked()) ? (IT_STRING | IT_CALL) : (IT_DISABLED);
|
||||||
|
|
||||||
if (currentMenu->prevMenu)
|
if (currentMenu->prevMenu)
|
||||||
M_SetupNextMenu(currentMenu->prevMenu, false);
|
M_SetupNextMenu(M_InterruptMenuWithChallenges(currentMenu->prevMenu), false);
|
||||||
else
|
else
|
||||||
M_ClearMenus(true);
|
M_ClearMenus(true);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,9 @@ menu_t *M_InterruptMenuWithChallenges(menu_t *desiredmenu)
|
||||||
{
|
{
|
||||||
UINT16 i, newunlock;
|
UINT16 i, newunlock;
|
||||||
|
|
||||||
|
if (Playing())
|
||||||
|
return desiredmenu;
|
||||||
|
|
||||||
M_UpdateUnlockablesAndExtraEmblems(false, true);
|
M_UpdateUnlockablesAndExtraEmblems(false, true);
|
||||||
|
|
||||||
newunlock = M_GetNextAchievedUnlock();
|
newunlock = M_GetNextAchievedUnlock();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue