Skip to content

Commit

Permalink
Fix SHOW_MULTI_ACTIONBAR_X taint
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-HeinzSchneider committed Aug 1, 2024
1 parent 13f3211 commit 8235553
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Modules/Actionbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,12 @@ local function SetActionBarToggle(index, value)
end

local function ActivateAllActionbars()
SHOW_MULTI_ACTIONBAR_1 = true
SHOW_MULTI_ACTIONBAR_2 = true
SHOW_MULTI_ACTIONBAR_3 = true
SHOW_MULTI_ACTIONBAR_4 = true
-- TODO: better system, without taint
if true then return end
-- SHOW_MULTI_ACTIONBAR_1 = true
-- SHOW_MULTI_ACTIONBAR_2 = true
-- SHOW_MULTI_ACTIONBAR_3 = true
-- SHOW_MULTI_ACTIONBAR_4 = true
SetActionBarToggles(1, 1, 1, 1, 1)
SetActionBarToggles(true, true, true, true, true)
MultiActionBar_Update()
Expand Down

0 comments on commit 8235553

Please sign in to comment.