From ef91c2584d4ee38c18d9da4ec909f237591e6482 Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Tue, 27 Feb 2018 04:50:36 +0200 Subject: [PATCH 1/1] Fix totem tracker bug when changing spec --- OmaTMW/TellMeWhen.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.5