From 8cd0d55b03e7f483d5d09f9b0dff41a595a40515 Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 25 Dec 2013 07:01:44 +0000 Subject: [PATCH] - 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. --- modules/ComboPoints.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/ComboPoints.lua b/modules/ComboPoints.lua index fb26b91..70fbdf0 100644 --- a/modules/ComboPoints.lua +++ b/modules/ComboPoints.lua @@ -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()