Apparently I've fucked it up
Darthpred [04-22-15 - 09:21]
Apparently I've fucked it up
diff --git a/ElvUI_SLE/modules/auras.lua b/ElvUI_SLE/modules/auras.lua
index f50339a..4fd06b2 100644
--- a/ElvUI_SLE/modules/auras.lua
+++ b/ElvUI_SLE/modules/auras.lua
@@ -176,17 +176,18 @@ function AT:BuildCasts(event, unit)
button:SetAttribute("spell1", name)
end
end
- AT:UpdateAuraStandings(nil, unit)
+ AT:UpdateAuraStandings(nil, "player")
end
function AT:UpdateAuraStandings(event, unit)
- if unit ~= "player" then return end
+ if unit ~= "player" and event ~= "PLAYER_REGEN_ENABLED" then return end
if event == "PLAYER_REGEN_DISABLED" then
self:RegisterEvent("PLAYER_REGEN_ENABLED", "UpdateAuraStandings")
return
elseif event == "PLAYER_REGEN_ENABLED" then
self:UnregisterEvent(event)
end
+ if InCombatLockdown() then return end
for i = 1, NUM_LE_RAID_BUFF_TYPES do
local button = _G["ElvUIConsolidatedBuff"..i]
for s = 1, #AT.Buffs[i] do