Fix share decklists checkbox to reflect actual game setting in game info dialog

This commit is contained in:
DawnFire42 2026-08-10 16:53:11 -04:00
parent bfdb9b0f1d
commit 8e27b5941b
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33

View file

@ -214,6 +214,7 @@ DlgCreateGame::DlgCreateGame(const ServerInfo_Game &gameInfo, const QMap<int, QS
spectatorsNeedPasswordCheckBox->setChecked(gameInfo.spectators_need_password());
spectatorsCanTalkCheckBox->setChecked(gameInfo.spectators_can_chat());
spectatorsSeeEverythingCheckBox->setChecked(gameInfo.spectators_omniscient());
shareDecklistsOnLoadCheckBox->setChecked(gameInfo.share_decklists_on_load());
QSet<int> types;
for (int i = 0; i < gameInfo.game_types_size(); ++i) {