DruidMana now properly unregister metro when disabled

This commit is contained in:
iceroth
2006-07-29 11:54:19 +00:00
parent 0b06646db0
commit ac8a6c7e5e
2 changed files with 5 additions and 1 deletions

View File

@ -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