summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 449dc8d7..57e52a3b 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -3051,7 +3051,7 @@ void ClientCommand( int clientNum )
commands_t *command;
ent = g_entities + clientNum;
- if( !ent->client )
+ if( !ent->client || ent->client->pers.connected != CON_CONNECTED )
return; // not fully in game yet
trap_Argv( 0, cmd, sizeof( cmd ) );