diff --git a/SVUI_UnitFrames/libs/oUF/elements/portraits.lua b/SVUI_UnitFrames/libs/oUF/elements/portraits.lua index 73e3948..384ae4f 100644 --- a/SVUI_UnitFrames/libs/oUF/elements/portraits.lua +++ b/SVUI_UnitFrames/libs/oUF/elements/portraits.lua @@ -103,7 +103,7 @@ local Enable = function(self, unit) if(portrait) then portrait.__owner = self portrait.ForceUpdate = ForceUpdate - portrait:SetUnit(unit) + self:RegisterEvent("UNIT_PORTRAIT_UPDATE", Path) self:RegisterEvent("UNIT_MODEL_CHANGED", Path) self:RegisterEvent('UNIT_CONNECTION', Path)