Merge branch 'wheres-da-profile' into 'master'

G_DoLoadLevelEx: Don't fake profile set when transitioning to titlemap

See merge request KartKrew/Kart!1730
This commit is contained in:
James R. 2023-12-30 09:01:00 +00:00
commit a064ad17c5

View file

@ -1078,7 +1078,9 @@ void G_DoLoadLevelEx(boolean resetplayer, gamestate_t newstate)
if (wipegamestate == newstate)
wipegamestate = -1; // force a wipe
if (cv_currprofile.value == -1 && !demo.playback)
if (newstate != GS_TITLESCREEN
&& cv_currprofile.value == -1
&& !demo.playback)
{
PR_ApplyProfilePretend(cv_ttlprofilen.value, 0);
for (i = 1; i < cv_splitplayers.value; i++)