From 0d03f4cda5f3a095bf3137a3937e1c50061f6b85 Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Sun, 8 Jun 2014 13:55:07 +0300 Subject: Empty server now switches level half way to sd. --- src/game/g_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/g_main.c b/src/game/g_main.c index 3ce85f0..4312444 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2191,12 +2191,12 @@ void CheckExitRules( void ) LogExit( "Aliens win." ); G_MapLog_Result( 'a' ); } - else if( level.time > level.suddenDeathBeginTime && + else if( level.time > level.suddenDeathBeginTime/2 && level.numConnectedClients == 0 ) { // Sudden death started but no clients connected level.lastWin = TEAM_NONE; - trap_SendServerCommand( -1, "print \"Sudden death started with no connected clients\n\"" ); + trap_SendServerCommand( -1, "print \"Half way to sudden death reached with no connected clients\n\"" ); trap_SetConfigstring( CS_WINNER, "Stalemate" ); LogExit( "Timelimit hit." ); G_MapLog_Result( 't' ); -- cgit