switch to game start timer for the last 3 seconds of warmup to prevent 2 timers. #1567

This commit is contained in:
oy 2018-10-27 11:51:23 +02:00
parent bbdaf1ea3a
commit fdcb2f26fb

View file

@ -746,6 +746,8 @@ void IGameController::Tick()
// check if player ready mode was disabled and it waits that all players are ready -> end warmup
if(!g_Config.m_SvPlayerReadyMode && m_GameStateTimer == TIMER_INFINITE)
SetGameState(IGS_WARMUP_USER, 0);
else if(m_GameStateTimer == 3 * Server()->TickSpeed())
StartRound();
break;
case IGS_START_COUNTDOWN:
case IGS_GAME_PAUSED: