From 8bd9c7d9677140f1e420e1a2008a1dfed829cd41 Mon Sep 17 00:00:00 2001 From: wardz <10900212+wardz@users.noreply.github.com> Date: Sun, 18 Feb 2024 05:29:14 +0100 Subject: [PATCH] ensure db.textPoint etc gets updated on recycled frame with same spellname --- ClassicCastbars/core/Frames.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ClassicCastbars/core/Frames.lua b/ClassicCastbars/core/Frames.lua index a962d8d..71c0e0a 100644 --- a/ClassicCastbars/core/Frames.lua +++ b/ClassicCastbars/core/Frames.lua @@ -88,8 +88,7 @@ function ClassicCastbars:SetTargetCastbarPosition(castbar, parentFrame) end function ClassicCastbars:SetCastbarIconAndText(castbar, db) - local spellName = castbar.spellName - if not castbar.isTesting and castbar.Text:GetText() == spellName then return end + local spellName = castbar.spellName or "" if castbar.icon == 136235 then -- unknown texture castbar.icon = 136243