mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added calls to disable updates on custom modules as they are disabled so that they don't stick around on screen when they shouldn't
This commit is contained in:
@ -64,6 +64,8 @@ function IceCustomBar.prototype:TargetChanged()
|
||||
end
|
||||
|
||||
function IceCustomBar.prototype:Disable(core)
|
||||
IceHUD.IceCore:RequestUpdates(self.frame, nil)
|
||||
|
||||
IceCustomBar.super.prototype.Disable(self, core)
|
||||
end
|
||||
|
||||
|
@ -55,6 +55,8 @@ end
|
||||
|
||||
|
||||
function IceCustomCDBar.prototype:Disable(core)
|
||||
IceHUD.IceCore:RequestUpdates(self.frame, nil)
|
||||
|
||||
IceCustomCDBar.super.prototype.Disable(self, core)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user