Skip to content

Commit

Permalink
Remove curated maps button (FAForever#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Dec 3, 2021
1 parent df9882e commit 4710221
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions lua/ui/lobby/lobby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3087,13 +3087,15 @@ function CreateUI(maxPlayers)
end

-- curated Maps
GUI.curatedmapsButton = UIUtil.CreateButtonWithDropshadow(GUI.panel, '/Button/medium/', "<LOC lobui_0433>Curated Maps")
Tooltip.AddButtonTooltip(GUI.curatedmapsButton, 'lob_curated_maps')
LayoutHelpers.AtBottomIn(GUI.curatedmapsButton, GUI.optionsPanel, -51)
LayoutHelpers.AtHorizontalCenterIn(GUI.curatedmapsButton, GUI.optionsPanel, -55)
GUI.curatedmapsButton.OnClick = function()
OpenURL('http://forum.faforever.com/topic/347')
end
-- GUI.curatedmapsButton = UIUtil.CreateButtonWithDropshadow(GUI.panel, '/Button/medium/', "<LOC lobui_0433>Curated Maps")
-- Tooltip.AddButtonTooltip(GUI.curatedmapsButton, 'lob_curated_maps')
-- LayoutHelpers.AtBottomIn(GUI.curatedmapsButton, GUI.optionsPanel, -51)
-- LayoutHelpers.AtHorizontalCenterIn(GUI.curatedmapsButton, GUI.optionsPanel, -55)
-- GUI.curatedmapsButton.OnClick = function()
-- OpenURL('http://forum.faforever.com/topic/347')
-- end

-- GUI.curatedmapsButton:Disable()

-- A buton that, for the host, is "game options", but for everyone else shows a ready-only mod
-- manager.
Expand Down

0 comments on commit 4710221

Please sign in to comment.