unitframes: fix target update on tbc

This commit is contained in:
shagu
2019-08-22 18:01:42 +02:00
parent 2c8a7c9de5
commit d4a20f6ed7
+1 -1
View File
@@ -1213,7 +1213,7 @@ function pfUI.uf:RefreshUnit(unit, component)
unit:UpdateVisibility()
-- return on invisible unit frames
if not unit:IsShown() then return end
if not unit:IsShown() and not unit.visible then return end
-- create required fields
if not unit.cache then unit.cache = {} end