mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
Only ask for profile on startup once per session
Fixes Time Attack ending resetting you to the Guest profile, and makes going back to the title screen slightly less frustrating
This commit is contained in:
parent
74449ba55e
commit
88fa175a49
1 changed files with 30 additions and 21 deletions
|
|
@ -931,11 +931,9 @@ void M_StartControlPanel(void)
|
||||||
|
|
||||||
menuactive = true;
|
menuactive = true;
|
||||||
|
|
||||||
if (demo.playback)
|
if (!Playing())
|
||||||
{
|
{
|
||||||
currentMenu = &PAUSE_PlaybackMenuDef;
|
if (cv_currprofile.value == -1) // Only ask once per session.
|
||||||
}
|
|
||||||
else if (!Playing())
|
|
||||||
{
|
{
|
||||||
// we need to do this before setting ApplyProfile otherwise funky things are going to happen.
|
// we need to do this before setting ApplyProfile otherwise funky things are going to happen.
|
||||||
currentMenu = &MAIN_ProfilesDef;
|
currentMenu = &MAIN_ProfilesDef;
|
||||||
|
|
@ -958,9 +956,20 @@ void M_StartControlPanel(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// For now let's just always open the same pause menu.
|
currentMenu = &MainDef;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (demo.playback)
|
||||||
|
{
|
||||||
|
currentMenu = &PAUSE_PlaybackMenuDef;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
M_OpenPauseMenu();
|
M_OpenPauseMenu();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
CON_ToggleOff(); // move away console
|
CON_ToggleOff(); // move away console
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue