From 4f0a27972fe415725d6d8aaaaa8739d3fb710aa8 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 7 Jan 2017 12:23:18 +0100 Subject: [PATCH] unitframes: remove ttarget portrait workaround --- modules/unitframes.lua | 7 ------- 1 file changed, 7 deletions(-) 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)