summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 09afa5d2..ee000e8b 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1430,6 +1430,15 @@ void BeginIntermission( void )
return; // already active
level.intermissiontime = level.time;
+
+ // cancel votes
+ level.voteTime = 0;
+ trap_SetConfigstring( CS_VOTE_TIME, "" );
+ level.teamVoteTime[ 0 ] = 0;
+ trap_SetConfigstring( CS_TEAMVOTE_TIME, "" );
+ level.teamVoteTime[ 1 ] = 0;
+ trap_SetConfigstring( CS_TEAMVOTE_TIME + 1, "" );
+
FindIntermissionPoint( );
// move all clients to the intermission point