Player kartstuff's get reset in G_PlayerFinishLevel, so need to call K_StatRound earlier

This commit is contained in:
Indev 2025-01-13 23:10:56 +03:00 committed by NepDisk
parent ddd9a5a71e
commit ec59f0a233

View file

@ -4034,9 +4034,13 @@ static void G_DoCompleted(void)
if (metalrecording)
G_StopMetalRecording(false);
K_StatRound();
G_SetGamestate(GS_NULL);
wipegamestate = GS_NULL;
K_StatRound();
for (i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i])
@ -4079,7 +4083,6 @@ static void G_DoCompleted(void)
if (!demo.playback)
{
nextmap = G_GetNextMap(true);
K_StatRound();
// Remember last map for when you come out of the special stage.
if (!spec)