core: use media mechanism for configurable paths

This commit is contained in:
shagu
2019-06-10 13:35:48 +02:00
parent d075751632
commit c939f8b322
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ pfUI:RegisterModule("nameplates", 20400, function ()
local font_size = C.nameplates.use_unitfonts == "1" and C.global.font_unit_size or C.global.font_size
local inactive_alpha = tonumber(C.nameplates.notargalpha)
local glowr, glowg, glowb, glowa = GetStringColor(C.nameplates.glowcolor)
local hptexture = C.nameplates.healthtexture
local hptexture = pfUI.media[C.nameplates.healthtexture]
pfUI.nameplates = CreateFrame("Frame", nil, UIParent)