summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 70c3e49..dff13fe 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2229,7 +2229,8 @@ void CheckExitRules( void )
LogExit( "Aliens win." );
G_MapLog_Result( 'a' );
}
- else if( level.time > level.suddenDeathBeginTime/2 &&
+ else if( level.suddenDeathBeginTime != 0 &&
+ level.time > level.suddenDeathBeginTime/2 &&
level.numAlienClients == 0 && level.numHumanClients == 0 )
{
// Close to sudden death started but no clients connected