- never register disabled bars for updates

This commit is contained in:
Parnic
2010-11-22 18:01:42 +00:00
parent f40a0a9f97
commit b7d2e407d8

View File

@ -942,6 +942,10 @@ function IceBarElement.prototype:ConditionalSetupUpdate()
return
end
if not self.moduleSettings.enabled then
return
end
if not string.find(self.elementName, "MirrorBar") and not string.find(self.elementName, "PlayerMana") then
IceHUD.IceCore:RequestUpdates(self, self.MyOnUpdateFunc)
end