Mark game as running when start process is initiated.
This commit is contained in:
1 parent
55f7bb7132
commit
39a235d020
2 files changed
+2
-1
No files matched your search
@@ -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