From: Aleksi Blinnikka Date: Tue, 27 Feb 2018 02:50:36 +0000 (+0200) Subject: Fix totem tracker bug when changing spec X-Git-Url: https://www.aleksib.fi/git/wowui.git/commitdiff_plain/ef91c2584d4ee38c18d9da4ec909f237591e6482?ds=inline Fix totem tracker bug when changing spec --- diff --git a/OmaTMW/TellMeWhen.lua b/OmaTMW/TellMeWhen.lua index fd9b0fc..cb35b0b 100644 --- a/OmaTMW/TellMeWhen.lua +++ b/OmaTMW/TellMeWhen.lua @@ -247,7 +247,9 @@ Indicators:SetScript("OnEvent", function(self, event, arg1) currentSpec = GetSpecialization(); for _, frame in pairs(frames) do if frame.auras then updateAuraFrame(frame) end - if frame.totems then updateTotemFrame(frame) end + if frame.totems then + for _, slot in pairs(frame.totems) do updateTotemFrame(frame, slot) end + end end elseif event == "PLAYER_LOGIN" then initialize();