Skip to content

Commit

Permalink
fix error opening game menu using middle click on minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
Repooc committed Nov 1, 2024
1 parent f246687 commit a17e0d5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ElvUI/Core/Modules/Maps/Minimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ tinsert(menuList, {
microOffset = 'MainMenuMicroButton',
func = function()
if not _G.GameMenuFrame:IsShown() then
if E.Cata then
if _G.VideoOptionsFrame:IsShown() then
_G.VideoOptionsFrameCancel:Click()
elseif _G.AudioOptionsFrame:IsShown() then
_G.AudioOptionsFrameCancel:Click()
elseif _G.InterfaceOptionsFrame:IsShown() then
_G.InterfaceOptionsFrameCancel:Click()
end
end

CloseMenus()
CloseAllWindows()
PlaySound(850) --IG_MAINMENU_OPEN
Expand Down

0 comments on commit a17e0d5

Please sign in to comment.