Skip to content

Commit 8bd9c7d

Browse files
committed
ensure db.textPoint etc gets updated on recycled frame with same spellname
1 parent 2a7305b commit 8bd9c7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ClassicCastbars/core/Frames.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ function ClassicCastbars:SetTargetCastbarPosition(castbar, parentFrame)
8888
end
8989

9090
function ClassicCastbars:SetCastbarIconAndText(castbar, db)
91-
local spellName = castbar.spellName
92-
if not castbar.isTesting and castbar.Text:GetText() == spellName then return end
91+
local spellName = castbar.spellName or ""
9392

9493
if castbar.icon == 136235 then -- unknown texture
9594
castbar.icon = 136243

0 commit comments

Comments
 (0)