3307391 - Reduce number of UnitAura calls for each UNIT_AURA event
[wowui.git] / OmaRF / Events.lua
index 762cb99..d54a1df 100644 (file)
@@ -179,8 +179,8 @@ end
 M.UpdateHealAbsorb = updateHealAbsorb;
 
 local function updateAuras(frame, unit)
-    local alert = checkIndicators(frame, unit);
-    if alert then
+    updateAuras(frame, unit); -- this is throttled
+    if updateMajorAuras(frame, unit) then
         if frame.overlay.color ~= overlayColorAlert then
             frame.overlay:SetVertexColor(unpack(overlayColorAlert));
             frame.overlay.color = overlayColorAlert;