mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -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
|
||||
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)
|
||||
|
Reference in New Issue
Block a user