From 084b141ecc9618996adf1067b3473770d64aa515 Mon Sep 17 00:00:00 2001 From: trompetin17 Date: Tue, 17 Jun 2025 23:24:31 -0500 Subject: [PATCH] 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 --- .../public/gui/session/match_settings/MatchSettingsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/public/gui/session/match_settings/MatchSettingsDialog.js b/binaries/data/mods/public/gui/session/match_settings/MatchSettingsDialog.js index 075a0f526d..766b7c908e 100644 --- a/binaries/data/mods/public/gui/session/match_settings/MatchSettingsDialog.js +++ b/binaries/data/mods/public/gui/session/match_settings/MatchSettingsDialog.js @@ -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; } }