summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-06-08 13:55:07 +0300
committerMikko Tiusanen <ams@daug.net>2014-06-08 13:55:07 +0300
commit0d03f4cda5f3a095bf3137a3937e1c50061f6b85 (patch)
treea0b43ff18ce607b839a7f8d36291c98cd81ea64f /src/game/g_main.c
parentf4c9d4eab1992a1c4849b95db7e864ad3264ed1f (diff)
Empty server now switches level half way to sd.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c4
1 files changed, 2 insertions, 2 deletions
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' );