Mark game as running when start process is initiated.

This commit is contained in:
lotodore
2010-11-13 12:37:28 +00:00
parent 55f7bb7132
commit 39a235d020
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -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());
}