- Removed dead line of code that was using a global variable and then not even doing anything with it.

This commit is contained in:
Parnic
2012-08-30 04:36:00 +00:00
parent 532f374d05
commit 2035c0f576

View File

@ -240,8 +240,6 @@ function SliceAndDice.prototype:UpdateSliceAndDice(event, unit, fromUpdate)
end end
local denominator = (self.moduleSettings.showAsPercentOfMax and CurrMaxSnDDuration or sndDuration) local denominator = (self.moduleSettings.showAsPercentOfMax and CurrMaxSnDDuration or sndDuration)
self:UpdateBar(denominator ~= 0 and remaining / denominator or 0, "SliceAndDice") self:UpdateBar(denominator ~= 0 and remaining / denominator or 0, "SliceAndDice")
formatString = self.moduleSettings.upperText or ''
else else
self:UpdateBar(0, "SliceAndDice") self:UpdateBar(0, "SliceAndDice")