Skip to content

Commit

Permalink
Remove LFG button on Classic Era only, and unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Jul 3, 2024
1 parent 76dc87b commit b3cbd2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MicroMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ function MicroMenuMod:OnEnable()
self.bar = setmetatable(Bartender4.ButtonBar:Create("MicroMenu", self.db.profile, L["Micro Menu"], true), {__index = MicroMenuBar})
local buttons = {}

-- handle lfg/worldmap button on classic
if WoWClassic and C_LFGList and C_LFGList.IsLookingForGroupEnabled then
tDeleteItem(BT_MICRO_BUTTONS, C_LFGList.IsLookingForGroupEnabled() and "WorldMapMicroButton" or "LFGMicroButton")
-- remove the LFG button on classic era
if WoWClassicEra then
tDeleteItem(BT_MICRO_BUTTONS, "LFGMicroButton")
end

for i=1, #BT_MICRO_BUTTONS do
Expand Down

0 comments on commit b3cbd2a

Please sign in to comment.