Permalink
Browse files

ishq's suggestions

  • Loading branch information...
cu-kai committed Dec 11, 2015
1 parent ef359dd commit 71f4d494160428e78560e70a0f4bc3f070546b30
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/sgame/sg_main.cpp
@@ -2452,12 +2452,12 @@ void CheckExitRules()
LogExit( "Aliens win." );
G_MapLog_Result( 'a' );
}
else if( g_emptyTeamsSkipMapTime.integer &&
else if ( g_emptyTeamsSkipMapTime.integer &&
( level.time - level.startTime ) / 60000 >=
g_emptyTeamsSkipMapTime.integer &&
level.team[ TEAM_ALIENS ].numClients == 0 && level.team[ TEAM_HUMANS ].numClients == 0 )
{
//nobody wins because the teams are empty after x amount of game time
// nobody wins because the teams are empty after x amount of game time
level.lastWin = TEAM_NONE;
trap_SendServerCommand( -1, "print \"Empty teams skip map time exceeded.\n\"" );
trap_SetConfigstring( CS_WINNER, "Stalemate" );

0 comments on commit 71f4d49

Please sign in to comment.