mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
DruidMana now properly unregister metro when disabled
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
## Name: IceHUD
|
## Name: IceHUD
|
||||||
## Title: IceHUD |cff7fff7f -Ace2-|r
|
## Title: IceHUD |cff7fff7f -Ace2-|r
|
||||||
## Notes: Another HUD mod
|
## Notes: Another HUD mod
|
||||||
## Version: 0.3.2 ($Revision$)
|
## Version: 0.3.3 ($Revision$)
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
## OptionalDeps: FuBar_ToFu, DruidBar, SoleManax, MobHealth
|
## OptionalDeps: FuBar_ToFu, DruidBar, SoleManax, MobHealth
|
||||||
## X-Category: UnitFrame
|
## X-Category: UnitFrame
|
||||||
|
@ -53,6 +53,10 @@ function DruidMana.prototype:Disable()
|
|||||||
if (IsAddOnLoaded("SoleManax")) then
|
if (IsAddOnLoaded("SoleManax")) then
|
||||||
SoleManax.DelUser(self.UpdateSoleManax)
|
SoleManax.DelUser(self.UpdateSoleManax)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (IsAddOnLoaded("DruidBar")) then
|
||||||
|
Metrognome:Unregister("DruidMana")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user