summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index c803ca1c..b241c110 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1691,7 +1691,7 @@ void ClientDisconnect( int clientNum )
ent = g_entities + clientNum;
- if( !ent->client )
+ if( !ent->client || ent->client->pers.connected == CON_DISCONNECTED )
return;
G_LeaveTeam( ent );