Quantcast

Restoring frequentUpdates to Pet unit frames for hunters, since the Happiness updating issue has been fixed on latest oUF from Github

Lanerra [03-13-11 - 01:01]
Restoring frequentUpdates to Pet unit frames for hunters, since the Happiness updating issue has been fixed on latest oUF from Github
Filename
oUF_Lanerra.lua
diff --git a/oUF_Lanerra.lua b/oUF_Lanerra.lua
index 1aa2c7d..4d53d4a 100644
--- a/oUF_Lanerra.lua
+++ b/oUF_Lanerra.lua
@@ -465,11 +465,9 @@ local Stylish = function(self, unit, isSingle)
     self.Power.colorHappiness = unit == 'pet'

 	-- We like to keep things smooth around here
-    if (unit ~= 'pet') then
-        self.Power.frequentUpdates = 0.2
-        self.Power.Smooth = true
-    end
-
+    self.Power.frequentUpdates = 0.2
+    self.Power.Smooth = true
+
 	self.Power:SetParent(self)
 	self.Power:SetPoint('BOTTOM')
 	self.Power:SetPoint('LEFT', .2, 0)