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

This commit is contained in:
indev committed 2025-01-13 23:11:52 +03:00
1 parent cd76cc0e9f
commit e3adcfb62e
1 file changed
+2 -2
+2 -2
View File
@@ -3148,6 +3148,8 @@ static void G_DoCompleted(void)
if (metalrecording)
G_StopMetalRecording();
K_StatRound();
for (i = 0; i < MAXPLAYERS; i++)
if (playeringame[i])
{
@@ -3174,8 +3176,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)