From 8235553284f44c450c6ae0a892bd757bdf9ba8b0 Mon Sep 17 00:00:00 2001 From: Karl-HeinzSchneider <56960197+Karl-HeinzSchneider@users.noreply.github.com> Date: Thu, 1 Aug 2024 21:27:25 +0200 Subject: [PATCH] Fix SHOW_MULTI_ACTIONBAR_X taint --- Modules/Actionbar.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Modules/Actionbar.lua b/Modules/Actionbar.lua index 5e83664..a9541c1 100644 --- a/Modules/Actionbar.lua +++ b/Modules/Actionbar.lua @@ -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()