From 575a969c59be827a50326a1167179ebe9b2da12e Mon Sep 17 00:00:00 2001 From: d87 Date: Sat, 16 Sep 2023 10:25:59 +0700 Subject: [PATCH] Classic Era bugfix --- nameplates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nameplates.lua b/nameplates.lua index 1e5b3dd..0576978 100644 --- a/nameplates.lua +++ b/nameplates.lua @@ -100,12 +100,12 @@ function NugRunningNameplates:CreateNameplateTimer(frame) bar:SetSize(w,h) f.bar = bar - local bg = f:CreateTexture("BACKGROUND", nil, -5) + local bg = f:CreateTexture(nil, "BACKGROUND", nil, -5) bg:SetTexture(texture) bg:SetAllPoints(bar) bar.bg = bg - local icon = f:CreateTexture("ARTWORK") + local icon = f:CreateTexture(nil, "ARTWORK") icon:SetTexCoord(.1, .9, .3, .7) icon:SetHeight(h); icon:SetWidth(2*h) icon:SetPoint("TOPLEFT", f, "TOPLEFT",0,0)