From 3804fbcbc1776a075826f5233dfbe95b1796a3c5 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 18 Nov 2018 00:55:03 +0100 Subject: One more player counting fix. I'm getting sick and tired of these anti-documenting variable names. I hope this is the last fucking patch. --- src/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_main.c b/src/game/g_main.c index 0aa08b7..9d3f04b 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2744,7 +2744,7 @@ static void CheckAntistack(void) if (client->pers.connected != CON_CONNECTED) continue; - if (client->sess.sessionTeam == TEAM_SPECTATOR) + if (client->pers.teamSelection == PTE_NONE) continue; score = client->ps.persistant[PERS_SCORE]; -- cgit