2ddc77e - Remove AceTimer
[wowui.git] / Indicators.lua
index 673ae75..08003a9 100644 (file)
@@ -122,6 +122,9 @@ end
 -- Update all indicators
 function RaidFrameCustomization:UpdateAllIndicators()
     CompactRaidFrameContainer_ApplyToFrames(CompactRaidFrameContainer, "normal", updateIndicators);
+    if self.running then
+        C_Timer.After(0.15, self:UpdateAllIndicators);
+    end
 end
 
 -- Used to update everything that is affected by the configuration
@@ -138,7 +141,8 @@ function RaidFrameCustomization:RefreshConfig()
         end
 
         if next(watchedAuras) ~= nil then
-            self.updateTimer = self:ScheduleRepeatingTimer("UpdateAllIndicators", 0.15);
+            self.running = true;
+            C_Timer.After(0.15, self:UpdateAllIndicators);
         end
     end
 end