ef91c25 - Fix totem tracker bug when changing spec
authorAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Tue, 27 Feb 2018 02:50:36 +0000
committerAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Tue, 27 Feb 2018 02:50:36 +0000
OmaTMW/TellMeWhen.lua

index fd9b0fc..cb35b0b 100644 (file)
@@ -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();