mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-20 07:45:17 -05:00
deck storage is fully working again, cleaned up some unnecessarily large messages
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user