fix minor castbar issue
This commit is contained in:
parent
2571df3052
commit
6b94fdc32f
@ -220,7 +220,7 @@ function Castbar.OnUpdate(castBar, elapsed)
|
|||||||
castBar.spark:SetPoint("CENTER", castBar.bar, "LEFT", castBar.spark.position, 0)
|
castBar.spark:SetPoint("CENTER", castBar.bar, "LEFT", castBar.spark.position, 0)
|
||||||
castBar.spark:Show()
|
castBar.spark:Show()
|
||||||
end
|
end
|
||||||
elseif ( GetTime() < castBar.holdTime ) then
|
elseif ( castBar.holdTime and GetTime() < castBar.holdTime ) then
|
||||||
castBar.timeText:Hide()
|
castBar.timeText:Hide()
|
||||||
castBar.spark:Hide()
|
castBar.spark:Hide()
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user