fix for castbar not resetting if timer duration is the same as before.

This commit is contained in:
Meow
2026-03-30 03:19:11 +02:00
parent 811d606650
commit d3ee08c170
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -174,6 +174,7 @@ pfUI:RegisterModule("castbar", "vanilla", function ()
this.bar.left:SetText(spellname .. rank)
this.fadeout = nil
this.endTime = endTime
this.lastMax = nil -- reset so SetMinMaxValues is called for this new cast
-- set texture
if texture and this.showicon then