summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 2cb292d..e1eb7c3 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2738,14 +2738,14 @@ static void CheckAntistack(void)
if (client->pers.connected != CON_CONNECTED)
continue;
- if (client->ps.stats[STAT_PTEAM] == PTE_NONE)
+ if (client->sess.sessionTeam == TEAM_SPECTATOR)
continue;
score = client->ps.persistant[PERS_SCORE];
if (score < 0)
score = 0;
- if (client->ps.stats[STAT_PTEAM] == PTE_ALIENS) {
+ if (client->pers.teamSelection == PTE_ALIENS) {
alien_score += score;
aliens++;
} else {