Player list is now sent in Game List New notification. Not shown in dialog yet.

This commit is contained in:
lotodore committed 2007-09-01 22:59:55 +00:00
1 parent 096c02dd24
commit d35f4ae997
7 files changed
+75 -3

No files matched your search

+1
View File
@@ -556,6 +556,7 @@ ServerLobbyThread::CreateNetPacketGameListNew(const ServerGameThread &game)
packetData.gameInfo.mode = GAME_MODE_CREATED;
packetData.gameInfo.name = game.GetName();
packetData.gameInfo.data = game.GetGameData();
packetData.gameInfo.players = game.GetSessionManager().GetPlayerIdList();
static_cast<NetPacketGameListNew *>(packet.get())->SetData(packetData);
return packet;
}