Fixed lobby update issue when computer players joined a game.

This commit is contained in:
lotodore
2007-10-21 18:36:56 +00:00
parent 7aec52327f
commit 07a0b8503d
+3
View File
@@ -315,6 +315,9 @@ ServerGameStateInit::InternalProcess(ServerGameThread &server, SessionWrapper se
// Send "Player Joined" to other fully connected clients.
server.SendToAllPlayers(CreateNetPacketPlayerJoined(*tmpPlayerData), SessionData::Game);
// Notify lobby.
server.GetLobbyThread().NotifyPlayerJoinedGame(server.GetId(), tmpPlayerData->GetUniqueId());
}
}
// Wait for all players to confirm start of game.