Skip to content

Commit

Permalink
Fixed lua error spam.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Jan 5, 2023
1 parent 86e15e9 commit 1e7c75b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions core/Hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1e7c75b

Please sign in to comment.