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

This commit is contained in:
indev authored and Alug committed 2025-01-14 20:05:33 +01:00
1 parent 2512a9bc87
commit 61bcab727f
1 file changed
+2 -2
+2 -2
View File
@@ -3231,6 +3231,8 @@ static void G_DoCompleted(void)
if (metalrecording)
G_StopMetalRecording();
K_StatRound();
for (i = 0; i < MAXPLAYERS; i++)
if (playeringame[i])
{
@@ -3257,8 +3259,6 @@ static void G_DoCompleted(void)
if (demo.playback) goto demointermission;
K_StatRound();
// go to next level
// nextmap is 0-based, unlike gamemap
if (nextmapoverride != 0)