From b3cbd2aa3d24a0843ce25964ad946cc3f00f8009 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 3 Jul 2024 12:27:21 +0200 Subject: [PATCH] Remove LFG button on Classic Era only, and unconditionally --- MicroMenu.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MicroMenu.lua b/MicroMenu.lua index 8f8447a..c61464b 100644 --- a/MicroMenu.lua +++ b/MicroMenu.lua @@ -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