From bc4deff6fd7163b458bf448b02b00b992b62030c Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 26 Oct 2010 00:07:36 +0000 Subject: [PATCH] - fixed the Eclipse bar not showing up since 1.7.2 --- IceBarElement.lua | 8 +------- modules/EclipseBar.lua | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/IceBarElement.lua b/IceBarElement.lua index c044e32..fb5fc4d 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -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 diff --git a/modules/EclipseBar.lua b/modules/EclipseBar.lua index 5104074..8c86c23 100644 --- a/modules/EclipseBar.lua +++ b/modules/EclipseBar.lua @@ -101,10 +101,6 @@ function EclipseBar.prototype:CreateFrame() self:UpdateAlpha() end -function EclipseBar.prototype:ShouldRegisterOnUpdate() - return false -end - function EclipseBar.prototype:CreateSolarBar() if not (self.solarBar) then self.solarBar = CreateFrame("Frame", nil, self.frame)