summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 9395605f..2f9618fc 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -2481,6 +2481,8 @@ Cmd_FollowCycle_f
void Cmd_FollowCycle_f( gentity_t *ent, int dir )
{
// won't work unless spectating
+ if( ent->client->pers.teamSelection != PTE_NONE )
+ return;
if( ent->client->sess.spectatorState == SPECTATOR_NOT )
return;