Check for spectator in K_StatRound

This commit is contained in:
indev authored and Alug committed 2025-01-21 16:54:53 +01:00
1 parent 0d3d958b46
commit 9c16798fdb
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ void K_StatRound(void)
++numplayers;
}
if (numplayers > 1)
if (numplayers > 1 && !players[consoleplayer].spectator)
{
if (players[consoleplayer].kartstuff[k_position] == 1)
kartstats.totalwins++;