mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
switch to game start timer for the last 3 seconds of warmup to prevent 2 timers. #1567
This commit is contained in:
parent
bbdaf1ea3a
commit
fdcb2f26fb
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue