From 9c083e0fb3212c62d276210b81bbb85436687319 Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Sun, 8 Jun 2014 14:23:58 +0300 Subject: Automatic map switch now based on number of human/alien players only. --- src/game/g_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/g_main.c b/src/game/g_main.c index 4312444..bd3fef0 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -2192,11 +2192,11 @@ void CheckExitRules( void ) G_MapLog_Result( 'a' ); } else if( level.time > level.suddenDeathBeginTime/2 && - level.numConnectedClients == 0 ) + level.numAlienClients == 0 && level.numHumanClients == 0 ) { - // Sudden death started but no clients connected + // Close to sudden death started but no clients connected level.lastWin = TEAM_NONE; - trap_SendServerCommand( -1, "print \"Half way to sudden death reached with no connected clients\n\"" ); + trap_SendServerCommand( -1, "print \"Half way to sudden death reached with empty teams\n\"" ); trap_SetConfigstring( CS_WINNER, "Stalemate" ); LogExit( "Timelimit hit." ); G_MapLog_Result( 't' ); -- cgit