diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 4a3a1822..caa73ccd 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2930,8 +2930,7 @@ void ClientCommand( int clientNum ) G_FloodLimited( ent ) ) ) return; - if( ( command->cmdFlags & CMD_TEAM || - ( command->cmdFlags & CMD_CHEAT_TEAM && !g_cheats.integer ) ) && + if( command->cmdFlags & CMD_TEAM && ent->client->pers.teamSelection == TEAM_NONE ) { G_TriggerMenu( clientNum, MN_CMD_TEAM ); |