From ac8a6c7e5ef8bd466829a1bc4c57cd3973463d62 Mon Sep 17 00:00:00 2001 From: iceroth Date: Sat, 29 Jul 2006 11:54:19 +0000 Subject: [PATCH] DruidMana now properly unregister metro when disabled --- IceHUD.toc | 2 +- modules/DruidMana.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IceHUD.toc b/IceHUD.toc index ebc6b64..c5dd921 100644 --- a/IceHUD.toc +++ b/IceHUD.toc @@ -3,7 +3,7 @@ ## Name: IceHUD ## Title: IceHUD |cff7fff7f -Ace2-|r ## Notes: Another HUD mod -## Version: 0.3.2 ($Revision$) +## Version: 0.3.3 ($Revision$) ## SavedVariables: IceCoreDB ## OptionalDeps: FuBar_ToFu, DruidBar, SoleManax, MobHealth ## X-Category: UnitFrame diff --git a/modules/DruidMana.lua b/modules/DruidMana.lua index 27fc4b0..4f9b23b 100644 --- a/modules/DruidMana.lua +++ b/modules/DruidMana.lua @@ -53,6 +53,10 @@ function DruidMana.prototype:Disable() if (IsAddOnLoaded("SoleManax")) then SoleManax.DelUser(self.UpdateSoleManax) end + + if (IsAddOnLoaded("DruidBar")) then + Metrognome:Unregister("DruidMana") + end end