- Fixed a bug where buff/debuff watchers were not removing themselves from the central Update list when deleted.

This commit is contained in:
Parnic
2013-11-27 06:38:36 +00:00
parent 3732869153
commit 8a6bbc98bb

View File

@ -69,6 +69,13 @@ function IceCustomBar.prototype:Enable(core)
self:SetCustomTextColor(self.frame.bottomLowerText, self.moduleSettings.lowerTextColor)
end
function IceCustomBar.prototype:Disable(core)
self.handlesOwnUpdates = false
IceHUD.IceCore:RequestUpdates(self, nil)
IceCustomBar.super.prototype.Disable(self, core)
end
function IceCustomBar.prototype:FixupTextColors()
if not self.moduleSettings.upperTextColor then
self.moduleSettings.upperTextColor = {r=1, g=1, b=1}