diff --git a/core/Core.lua b/core/Core.lua index d63dd01c..c5827058 100644 --- a/core/Core.lua +++ b/core/Core.lua @@ -119,8 +119,8 @@ function addon:OnInitialize() -- Disable the reagent bag tutorial C_CVar.SetCVarBitfield("closedInfoFrames", LE_FRAME_TUTORIAL_EQUIP_REAGENT_BAG, true) - C_CVar.SetCVarBool("professionToolSlotsExampleShown", true) - C_CVar.SetCVarBool("professionAccessorySlotsExampleShown", true) + C_CVar.SetCVar("professionToolSlotsExampleShown", 1) + C_CVar.SetCVar("professionAccessorySlotsExampleShown", 1) self:Debug('Initialized') end diff --git a/core/Hooks.lua b/core/Hooks.lua index cb5b7022..c826f991 100644 --- a/core/Hooks.lua +++ b/core/Hooks.lua @@ -213,6 +213,5 @@ function addon:ToggleBackpack() end function addon:CloseSpecialWindows() - local found = self.hooks.CloseSpecialWindows() - return self:CloseAllBags() or found + return self:CloseAllBags() end