Commit eae10bd5 authored by Merathilis's avatar Merathilis

Removed our health update (hotfix) from oUF. May tank the fps too much for some classes.

parent 893e4ce3
......@@ -116,11 +116,6 @@ end
local function Update(self, event, unit)
if(not unit or self.unit ~= unit) then return end
if event == 'UNIT_AURA' and UnitAffectingCombat(unit) then
return
end
local element = self.Health
--[[ Callback: Health:PreUpdate(unit)
......@@ -218,7 +213,6 @@ local function Enable(self, unit)
self:RegisterEvent('UNIT_MAXHEALTH', Path)
self:RegisterEvent('UNIT_CONNECTION', Path)
self:RegisterEvent('UNIT_FACTION', Path) -- For tapping
self:RegisterEvent('UNIT_AURA', Path) -- This is the bullshit fix.. Still Blizzard's Fault
if(element:IsObjectType('StatusBar') and not element:GetStatusBarTexture()) then
element:SetStatusBarTexture([[Interface\TargetingFrame\UI-StatusBar]])
......@@ -244,7 +238,6 @@ local function Disable(self)
self:UnregisterEvent('UNIT_MAXHEALTH', Path)
self:UnregisterEvent('UNIT_CONNECTION', Path)
self:UnregisterEvent('UNIT_FACTION', Path)
self:UnregisterEvent('UNIT_AURA', Path) -- This is the bullshit fix.. Still Blizzard's Fault
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment