mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Plug the last gap that allowed you to avoid selecting a profile.
There's no actual good way to handle the case of changing your skin, etc, maybe even various controls for a momentary test AND supporting profiles, so don't even try. Instead, let the game "pretend" you selected ttlprofilen to let it just about work. This works because all the relevant cvars and controls still get saved to the config when changed... they just get written over when you select a profile. So if you haven't changed anything since your last successful launch, it is now functionally indistinguishable.
This commit is contained in:
parent
8946bf9e01
commit
139def0d3d
2 changed files with 4 additions and 0 deletions
|
|
@ -1992,6 +1992,8 @@ static void CL_ConnectToServer(void)
|
|||
CONS_Printf(M_GetText("Contacting the server...\n"));
|
||||
}
|
||||
|
||||
if (cv_currprofile.value == -1)
|
||||
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
||||
if (gamestate == GS_INTERMISSION)
|
||||
Y_EndIntermission(); // clean up intermission graphics etc
|
||||
if (gamestate == GS_VOTING)
|
||||
|
|
|
|||
|
|
@ -1265,6 +1265,8 @@ void G_DoLoadLevel(boolean resetplayer)
|
|||
if (wipegamestate == GS_LEVEL)
|
||||
wipegamestate = -1; // force a wipe
|
||||
|
||||
if (cv_currprofile.value == -1)
|
||||
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
|
||||
if (gamestate == GS_INTERMISSION)
|
||||
Y_EndIntermission();
|
||||
if (gamestate == GS_VOTING)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue