mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
- fixed an error when entering configuration mode with a custom counter set to graphical mode
This commit is contained in:
@ -531,7 +531,7 @@ function IceCustomCount.prototype:UpdateCustomCount(unit)
|
|||||||
|
|
||||||
local points
|
local points
|
||||||
if IceHUD.IceCore:IsInConfigMode() then
|
if IceHUD.IceCore:IsInConfigMode() then
|
||||||
points = self.moduleSettings.maxCount
|
points = tonumber(self.moduleSettings.maxCount)
|
||||||
else
|
else
|
||||||
points = IceHUD:GetAuraCount(self.moduleSettings.auraType == "buff" and "HELPFUL" or "HARMFUL",
|
points = IceHUD:GetAuraCount(self.moduleSettings.auraType == "buff" and "HELPFUL" or "HARMFUL",
|
||||||
self.unit, self.moduleSettings.auraName, self.moduleSettings.onlyMine, true)
|
self.unit, self.moduleSettings.auraName, self.moduleSettings.onlyMine, true)
|
||||||
|
Reference in New Issue
Block a user