From b7decf6a3ebb4e873e5bc296db215dccfb9cf97f Mon Sep 17 00:00:00 2001 From: iceroth Date: Thu, 5 Oct 2006 16:32:40 +0000 Subject: [PATCH] Fixed a pet happiness bug (most likely) --- IceHUD.toc | 2 +- modules/PetHealth.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IceHUD.toc b/IceHUD.toc index 85cfa56..879cc9e 100644 --- a/IceHUD.toc +++ b/IceHUD.toc @@ -3,7 +3,7 @@ ## Name: IceHUD ## Title: IceHUD |cff7fff7f -Ace2-|r ## Notes: Another HUD mod -## Version: 0.7.4 ($Revision$) +## Version: 0.7.5 ($Revision$) ## SavedVariables: IceCoreDB ## OptionalDeps: Ace2, DewdropLib, FuBar_ToFu, DruidBar, SoleManax, MobHealth, SpellStatusLib ## X-Category: UnitFrame diff --git a/modules/PetHealth.lua b/modules/PetHealth.lua index 0a72caa..47c47ae 100644 --- a/modules/PetHealth.lua +++ b/modules/PetHealth.lua @@ -66,6 +66,7 @@ function PetHealth.prototype:PetHappiness(unit) self.happiness = GetPetHappiness() self.happiness = self.happiness or 3 -- '3' means happy + self:Update(unit) end