- fixed the Eclipse bar not showing up since 1.7.2

This commit is contained in:
Parnic
2010-10-26 00:07:36 +00:00
parent e16fbe8321
commit bc4deff6fd
2 changed files with 1 additions and 11 deletions

View File

@ -889,17 +889,11 @@ function IceBarElement.prototype:ConditionalSetupUpdate()
end
if not string.find(self.elementName, "MirrorBar")
and ((IceHUD.WowVer < 30000 or not GetCVarBool("predictedPower")) or (not string.find(self.elementName, "PlayerMana")))
and self:ShouldRegisterOnUpdate() then
and ((IceHUD.WowVer < 30000 or not GetCVarBool("predictedPower")) or (not string.find(self.elementName, "PlayerMana"))) then
IceHUD.IceCore:RequestUpdates(self, self.MyOnUpdateFunc)
end
end
function IceBarElement.prototype:ShouldRegisterOnUpdate()
return true
end
-- Creates background for the bar
function IceBarElement.prototype:CreateBackground()
if not (self.frame) then