mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- never register disabled bars for updates
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user