mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- 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:
@ -415,7 +415,12 @@ function ComboPoints.prototype:UpdateComboPoints()
|
||||
if anticipate > 0 then
|
||||
pointsText = pointsText.."+"..tostring(anticipate)
|
||||
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
|
||||
self.frame.numeric:SetText()
|
||||
|
||||
|
Reference in New Issue
Block a user