mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Removed dead line of code that was using a global variable and then not even doing anything with it.
This commit is contained in:
@ -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")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user