From 07a0b8503d64da45c4bc3e257779f21872e1021d Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 21 Oct 2007 18:36:56 +0000 Subject: [PATCH] Fixed lobby update issue when computer players joined a game. --- src/net/common/servergamestate.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 97f17d47..f13f7951 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -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.