G_PlayerReborn didn't work for 'respawns' stats, maybe G_DoReborn will?

This commit is contained in:
indev committed 2025-01-13 23:17:51 +03:00
1 parent e3adcfb62e
commit 976c74d694
1 file changed
+3 -3
+3 -3
View File
@@ -2347,9 +2347,6 @@ void G_PlayerReborn(INT32 player)
// If NiGHTS, find lowest mare to start with.
p->mare = 0;
if (!demo.playback && p == &players[consoleplayer])
kartstats.respawns++;
}
//
@@ -2719,6 +2716,9 @@ void G_DoReborn(INT32 playernum)
G_SpawnPlayer(playernum, starpost);
if (oldmo)
G_ChangePlayerReferences(oldmo, players[playernum].mo);
if (!demo.playback && playernum == consoleplayer)
kartstats.respawns++;
}
}