mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- added code to buff/debuff watchers and cooldown watchers to prevent them from sometimes getting stuck (not updating/animating)
This commit is contained in:
@ -848,7 +848,11 @@ end
|
||||
|
||||
function IceCore.prototype:RequestUpdates(module, func)
|
||||
if self.updatees[module] ~= func then
|
||||
self.updatees[module] = func
|
||||
-- Parnic: this prevents modules who are handling their own updates (as opposed to relying on IceBarElement)
|
||||
-- from having their update request yanked out from under them.
|
||||
if func ~= nil or not module.handlesOwnUpdates then
|
||||
self.updatees[module] = func
|
||||
end
|
||||
end
|
||||
|
||||
local count = 0
|
||||
|
Reference in New Issue
Block a user