mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_StartControlPanel: Fix incorrect interaction with NULL restoreMenu and Challenges menu
This commit is contained in:
parent
749de36734
commit
8d6be5e662
1 changed files with 2 additions and 3 deletions
|
|
@ -457,9 +457,6 @@ void M_StartControlPanel(void)
|
|||
}
|
||||
|
||||
S_ChangeMusicInternal(cv_menujam.string, true);
|
||||
|
||||
if (!restoreMenu)
|
||||
restoreMenu = &MainDef;
|
||||
}
|
||||
|
||||
if (cv_currprofile.value == -1) // Only ask once per session.
|
||||
|
|
@ -485,6 +482,8 @@ void M_StartControlPanel(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (restoreMenu == NULL)
|
||||
restoreMenu = &MainDef;
|
||||
currentMenu = M_SpecificMenuRestore(M_InterruptMenuWithChallenges(restoreMenu));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue