diff --git a/modules/unitframes.lua b/modules/unitframes.lua index 8d1789cc..c6d29e6b 100644 --- a/modules/unitframes.lua +++ b/modules/unitframes.lua @@ -344,13 +344,6 @@ function pfUI.uf:CreatePortrait(frame, pos, spacing) pfUI.uf:UpdatePortrait() end) - if unitstr == "targettarget" then - frame.portrait:SetScript("OnUpdate", function() - if not this.tick or this.tick < GetTime() then this.tick = GetTime() + 1 else return end - pfUI.uf:UpdatePortrait() - end) - end - if pos == "bar" then frame.portrait:SetParent(frame.hp.bar) frame.portrait:SetAllPoints(frame.hp.bar)