mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user