mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Move K_ResetCeremony
Properly carry over GP ranking data to the ceremony
This commit is contained in:
parent
57f53a5531
commit
96477caa88
1 changed files with 2 additions and 2 deletions
|
|
@ -1472,8 +1472,6 @@ void G_DoLoadLevelEx(boolean resetplayer, gamestate_t newstate)
|
|||
if (gamestate == GS_VOTING)
|
||||
Y_EndVote();
|
||||
|
||||
K_ResetCeremony();
|
||||
|
||||
// cleanup
|
||||
// Is this actually necessary? Doesn't F_StartTitleScreen already do a significantly more comprehensive check?
|
||||
if (newstate == GS_TITLESCREEN)
|
||||
|
|
@ -1500,6 +1498,8 @@ void G_DoLoadLevelEx(boolean resetplayer, gamestate_t newstate)
|
|||
M_ClearMenus(true);
|
||||
I_UpdateMouseGrab();
|
||||
|
||||
K_ResetCeremony();
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (resetplayer || (playeringame[i] && players[i].playerstate == PST_DEAD))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue