mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fixed a pet happiness bug (most likely)
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.7.4 ($Revision$)
|
## Version: 0.7.5 ($Revision$)
|
||||||
## SavedVariables: IceCoreDB
|
## SavedVariables: IceCoreDB
|
||||||
## OptionalDeps: Ace2, DewdropLib, FuBar_ToFu, DruidBar, SoleManax, MobHealth, SpellStatusLib
|
## OptionalDeps: Ace2, DewdropLib, FuBar_ToFu, DruidBar, SoleManax, MobHealth, SpellStatusLib
|
||||||
## X-Category: UnitFrame
|
## X-Category: UnitFrame
|
||||||
|
@ -66,6 +66,7 @@ function PetHealth.prototype:PetHappiness(unit)
|
|||||||
|
|
||||||
self.happiness = GetPetHappiness()
|
self.happiness = GetPetHappiness()
|
||||||
self.happiness = self.happiness or 3 -- '3' means happy
|
self.happiness = self.happiness or 3 -- '3' means happy
|
||||||
|
self:Update(unit)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user