Skip to content

Commit

Permalink
πŸ’„
Browse files Browse the repository at this point in the history
  • Loading branch information
ls- committed May 16, 2024
1 parent 3593356 commit bd37528
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elements/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,10 @@ local function Disable(self)
self:UnregisterEvent('UNIT_FACTION', ColorPath)
self:UnregisterEvent('UNIT_FLAGS', ColorPath)
self:UnregisterEvent('UNIT_THREAT_LIST_UPDATE', ColorPath)
self:UnregisterEvent('UNIT_MAX_HEALTH_MODIFIERS_CHANGED', Path)

if(element.TempLoss) then
element.TempLoss:Hide()

self:UnregisterEvent('UNIT_MAX_HEALTH_MODIFIERS_CHANGED', Path)
end
end
end
Expand Down

0 comments on commit bd37528

Please sign in to comment.