summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 16b40c0c..6a217bdc 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1779,6 +1779,13 @@ void CheckIntermissionExit( void )
if( level.time < level.intermissiontime + 5000 )
return;
+ // never let intermission go on for over 1 minute
+ if( level.time > level.intermissiontime + 60000 )
+ {
+ ExitLevel( );
+ return;
+ }
+
// if nobody wants to go, clear timer
if( !ready && numPlayers )
{