mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Always update aura durations
If we're coming from a custom update func, it could mean that we're tracking a unit that doesn't get events, like UNIT_AURA, for them. This includes anything other than player, target, and focus, essentially.
This commit is contained in:
@ -752,7 +752,7 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
|
||||
local auraIcon = nil
|
||||
local endTime = 0
|
||||
|
||||
if not fromUpdate then
|
||||
--if not fromUpdate then
|
||||
if tonumber(self.moduleSettings.buffToTrack) == nil then
|
||||
self.auraDuration, remaining, self.auraBuffCount, auraIcon, endTime =
|
||||
self:GetAuraDuration(self.unit, self.moduleSettings.buffToTrack)
|
||||
@ -787,7 +787,7 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
|
||||
else
|
||||
self.barFrame.icon:Hide()
|
||||
end
|
||||
end
|
||||
--end
|
||||
|
||||
self.auraBuffCount = self.auraBuffCount or 0
|
||||
|
||||
|
Reference in New Issue
Block a user