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
@@ -99,12 +99,10 @@ local menuList = {
text = MAINMENU_BUTTON,
notCheckable = 1,
func = function()
if GameMenuFrame:IsShown() then
PlaySound("igMainMenuQuit")
HideUIPanel(GameMenuFrame)
if EscapeMenu:IsShown() then
HideUIPanel(EscapeMenu)
else
PlaySound("igMainMenuOpen")
ShowUIPanel(GameMenuFrame)
ShowUIPanel(EscapeMenu)
end
end
},