- Fixed a bug causing combo points to always display in Numeric mode for any class instead of hiding when the player has 0 combo points and 0 anticipation stacks.

This commit is contained in:
Parnic
2013-12-25 07:01:44 +00:00
parent e9d05b1cb0
commit 8cd0d55b03

View File

@ -415,7 +415,12 @@ function ComboPoints.prototype:UpdateComboPoints()
if anticipate > 0 then if anticipate > 0 then
pointsText = pointsText.."+"..tostring(anticipate) pointsText = pointsText.."+"..tostring(anticipate)
end end
self.frame.numeric:SetText(pointsText)
if points == 0 and anticipate == 0 then
self.frame.numeric:SetText(nil)
else
self.frame.numeric:SetText(pointsText)
end
else else
self.frame.numeric:SetText() self.frame.numeric:SetText()