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 c4025ced..06363c7a 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -540,7 +540,7 @@ void Cmd_Team_f( gentity_t *ent )
// stop switching teams for gameplay exploit reasons by enforcing a long
// wait before they can come back
- if( !force && ent->client->pers.aliveSeconds &&
+ if( !force && !g_cheats.integer && ent->client->pers.aliveSeconds &&
level.time - ent->client->pers.teamChangeTime < 30000 )
{
trap_SendServerCommand( ent-g_entities,