- fixed an error when entering configuration mode with a custom counter set to graphical mode

This commit is contained in:
Parnic
2009-07-26 04:44:35 +00:00
parent eb80363e54
commit f850a20a24

View File

@ -531,7 +531,7 @@ function IceCustomCount.prototype:UpdateCustomCount(unit)
local points
if IceHUD.IceCore:IsInConfigMode() then
points = self.moduleSettings.maxCount
points = tonumber(self.moduleSettings.maxCount)
else
points = IceHUD:GetAuraCount(self.moduleSettings.auraType == "buff" and "HELPFUL" or "HARMFUL",
self.unit, self.moduleSettings.auraName, self.moduleSettings.onlyMine, true)