When the group composition changes, force a re-scan of all auras on units.
Johnny C. Lam [11-27-13 - 14:04]
When the group composition changes, force a re-scan of all auras on units.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1227 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleAura.lua b/OvaleAura.lua
index a01608f..f3988f2 100644
--- a/OvaleAura.lua
+++ b/OvaleAura.lua
@@ -216,7 +216,7 @@ function OvaleAura:OnEnable()
self:RegisterEvent("PLAYER_REGEN_ENABLED")
self:RegisterEvent("PLAYER_UNGHOST", "PLAYER_ALIVE")
self:RegisterEvent("UNIT_AURA")
- self:RegisterMessage("Ovale_GroupChanged", "RemoveAurasOnInactiveUnits")
+ self:RegisterMessage("Ovale_GroupChanged", "ScanAllUnitAuras")
OvaleState:RegisterState(self, self.statePrototype)
end