Mark game as running when start process is initiated.
This commit is contained in:
@@ -535,6 +535,8 @@ ServerGameStateInit::SendStartEvent(ServerGame &server, bool fillWithComputerPla
|
||||
|
||||
// Wait for all players to confirm start of game.
|
||||
server.SendToAllPlayers(packet, SessionData::Game);
|
||||
// Notify lobby that this game is running.
|
||||
server.GetLobbyThread().NotifyStartingGame(server.GetId());
|
||||
|
||||
server.SetState(ServerGameStateStartGame::Instance());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user