Quantcast

Update to reflect changes in Plug-in

p3lim-52096 [10-03-08 - 21:45]
Update to reflect changes in Plug-in

git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@27 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
Filename
oUF_P3lim/oUF_P3lim.lua
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index a2babb8..17a0438 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -160,13 +160,13 @@ local function CreateStyle(self, unit)
 			self.Experience = CreateFrame('StatusBar', nil, self)
 			self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10)
 			self.Experience:SetStatusBarTexture(texture)
-			self.Experience:SetStatusBarColor(unpack(self.colors.health))
 			self.Experience:SetHeight(11)
 			self.Experience:SetWidth((unit == 'pet') and 130 or 230)
 			self.Experience:SetBackdrop({bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=], insets = {top = -1, left = -1, bottom = -1, right = -1}})
 			self.Experience:SetBackdropColor(0, 0, 0)

 			self.Experience.Tooltip = true
+			self.colorReputation = true

 			self.Experience.Text = self.Experience:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall')
 			self.Experience.Text:SetPoint('CENTER', self.Experience)