From b6a95ec65f6c14227810e6d366ffb5cb77b4ef5b Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 15 Apr 2017 15:51:32 +0200 Subject: [PATCH] api: fix function call --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 8972a26d..13a6903b 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -51,7 +51,7 @@ function pfUI.uf:CreateUnitFrame(unit, id, config, tick) f.hp.bar:SetMinMaxValues(0, 100) if pfUI_config.unitframes.custombg == "1" then - local cr, cg, cb, ca = strsplit(",", pfUI_config.unitframes.custombgcolor) + local cr, cg, cb, ca = pfUI.api.strsplit(",", pfUI_config.unitframes.custombgcolor) cr, cg, cb = tonumber(cr), tonumber(cg), tonumber(cb) f.hp.bar.texture = f.hp.bar:CreateTexture(nil,"BACKGROUND") f.hp.bar.texture:SetTexture(cr,cg,cb,ca)