summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-24 13:43:19 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-24 13:43:19 +0200
commit6755aa5c9426a2e1b5cf31cb84243e05d4620c16 (patch)
tree2d3fa360347c33a3dcbe0df5ec5cb725658b76be /src/game/g_cmds.c
parentda338b5f05fd0154b3d1aba9ae45b944bfe865f2 (diff)
Allow players to leave the team during a teamvote.fix/votes
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 5c26da1..d241e19 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -783,11 +783,6 @@ void Cmd_Team_f( gentity_t *ent )
cs_offset = 1;
else
cs_offset = 0;
- if( level.teamVoteTime[ cs_offset ] )
- {
- trap_SendServerCommand( ent-g_entities, "print \"Can not leave team during a team vote\n\"" );
- return;
- }
}
// Prevent invisible players from joining a team