summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index f457b77e..07643a2e 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -41,6 +41,9 @@ void AddScore( gentity_t *ent, int score )
if( !ent->client )
return;
+ if( ent->client->sess.sessionTeam == TEAM_SPECTATOR )
+ return;
+
// no scoring during pre-match warmup
if( level.warmupTime )
return;