summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 4cde34b7..77aa54b1 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1504,7 +1504,7 @@ void LogExit( const char *string )
cl = &level.clients[ level.sortedClients[ i ] ];
- if( cl->sess.sessionTeam == TEAM_SPECTATOR )
+ if( cl->ps.stats[ STAT_PTEAM ] == PTE_NONE )
continue;
if( cl->pers.connected == CON_CONNECTING )