From 7856f28f0dec7fa73a0ca730ca321c69a5b49a73 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 2 Jan 2018 14:07:33 +0100 Subject: [PATCH] unitframes: fix prediction layer on custom bg --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index ccdc3ea8..dd1a6ce7 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -122,7 +122,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) end end) - if pfUI_config.unitframes.custombg == "0" then + if f.config.invert_healthbar == "0" then f.incHeal:SetFrameLevel(2) else f.incHeal:SetFrameLevel(3)