Skip to content

Commit

Permalink
prevent hiding bar here when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wardz committed Feb 14, 2023
1 parent 1ec5f5a commit cb36cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClassicCastbars/ClassicCastbars_NonClassic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ addon:SetScript("OnUpdate", function(self)
local sparkPosition = (value / maxValue) * (castbar.currWidth or castbar:GetWidth())
castbar.Spark:SetPoint("CENTER", castbar, "LEFT", sparkPosition, 0)
else
if castbar.fade and not castbar.fade:IsPlaying() then
if castbar.fade and not castbar.fade:IsPlaying() and not castbar.isTesting then
self:HideCastbar(castbar, unit, true)
castbar._data = nil
end
Expand Down

0 comments on commit cb36cfc

Please sign in to comment.