mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Speculative fix for reported problem
There's a case where custom counters seemingly get stuck with an outdated maximum number of charges (perhaps only when augmented by a talent such as with Throw Glaive). This may catch and fix it (I couldn't reproduce the problem with a starter DH since you need level 108 or something to get the second charge for Throw Glaive).
This commit is contained in:
@ -436,6 +436,12 @@ function IceCustomCount.prototype:UpdateCustomCount()
|
||||
end
|
||||
|
||||
local points = IceStackCounter_GetCount(self)
|
||||
local max = IceStackCounter_GetMaxCount(self)
|
||||
|
||||
if max ~= #self.frame.graphical then
|
||||
self:Redraw()
|
||||
return
|
||||
end
|
||||
|
||||
if (self.moduleSettings.countMode == "Numeric") then
|
||||
local r, g, b = self:GetCustomColor()
|
||||
|
Reference in New Issue
Block a user