From d4a20f6ed71c1ac8929c7241fbabe39122bd7f9c Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 22 Aug 2019 18:01:42 +0200 Subject: [PATCH] unitframes: fix target update on tbc --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 7349e3d7..0216f060 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -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