Fix MatchSettingsDialog after b34f4b79aa

Reported by wow on irc:
ERROR: JavaScript error:
gui/session/match_settings/MatchSettingsDialog.js line 55 undefined has
no properties
rebuild@gui/session/match_settings/MatchSettingsDialog.js:55:3
init@gui/session/session.js:320:3
reallyStartGame@gui/loading/loading.js:22:9  ERROR: GUI page
'page_session.xml': Failed to call init() function
This commit is contained in:
trompetin17
2025-06-17 23:24:31 -05:00
parent 657be906fe
commit 084b141ecc
@@ -52,6 +52,6 @@ class MatchSettingsDialog
this.matchSettingsPlayerstate.hidden = isActive;
this.matchSettingsPlayerstate.caption = g_PlayerStateMessages[playerState] || "";
this.gameDescription.size.top = (isActive ? this.objectivesTitle : this.objectivesPlayerstate).size.bottom;
this.gameDescription.size.top = (isActive ? this.matchSettingsTitle : this.matchSettingsPlayerstate).size.bottom;
}
}