Skip to content

Commit

Permalink
Simple Skirmish: Don't activate adv panel before game start
Browse files Browse the repository at this point in the history
  • Loading branch information
AntlerForce committed Jan 31, 2025
1 parent 1b8830a commit 3d99de1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions LuaMenu/widgets/gui_battle_room_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2616,9 +2616,6 @@ local function InitializeSetupPage(subPanel, screenHeight, pageConfig, nextPage,
WG.Analytics.SendOnetimeEvent("lobby:singleplayer:skirmish:" .. pageConfig.name, selectedOptions[pageConfig.name])
WG.Analytics.SendOnetimeEvent("lobby:singleplayer:skirmish:start_quick")
ApplyFunction(true)
if haveMapAndGame then
subPanel:SetVisibility(false)
end
end
end
},
Expand Down Expand Up @@ -2822,8 +2819,9 @@ local function SetupEasySetupPanel(mainWindow, standardSubPanel, setupData)
WG.Chobby.InformationPopup("You do not have the map for this skirmish, check your downloads tab to see the download progress.", {caption = "OK"})
return
end
else
standardSubPanel:SetVisibility(true)
end
standardSubPanel:SetVisibility(true)
end

local _, screenHeight = Spring.GetWindowGeometry()
Expand Down

0 comments on commit 3d99de1

Please sign in to comment.