esc menu changes

This commit is contained in:
andrew6180
2024-04-09 15:55:28 -07:00
parent a3f0c62e62
commit 59e5160c69
7 changed files with 15 additions and 489 deletions
+3 -5
View File
@@ -141,12 +141,10 @@ local function UpdateCPU()
end
local function ToggleGameMenuFrame()
if GameMenuFrame:IsShown() then
PlaySound("igMainMenuQuit")
HideUIPanel(GameMenuFrame)
if EscapeMenu:IsShown() then
HideUIPanel(EscapeMenu)
else
PlaySound("igMainMenuOpen")
ShowUIPanel(GameMenuFrame)
ShowUIPanel(EscapeMenu)
end
end