mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
deck storage is fully working again, cleaned up some unnecessarily large messages
This commit is contained in:
parent
d4aaf9fff5
commit
0c9a2b061c
13 changed files with 110 additions and 66 deletions
|
|
@ -583,11 +583,11 @@ ServerInfo_Game Server_Game::getInfo() const
|
|||
ServerInfo_Game result;
|
||||
result.set_room_id(room->getId());
|
||||
result.set_game_id(getGameId());
|
||||
result.set_max_players(getMaxPlayers());
|
||||
if (!players.isEmpty()) {
|
||||
for (int i = 0; i < gameTypes.size(); ++i)
|
||||
result.add_game_types(gameTypes[i]);
|
||||
|
||||
result.set_max_players(getMaxPlayers());
|
||||
result.set_description(getDescription().toStdString());
|
||||
result.set_with_password(!getPassword().isEmpty());
|
||||
result.set_player_count(getPlayerCount());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue