Fixed rested xp not showing properly
p3lim-52096 [08-29-08 - 11:40]
Fixed rested xp not showing properly
git-svn-id: svn://svn.wowinterface.com/oUF_Experience-227/trunk@7 f81be506-7a38-4956-9b9f-d707db2888a5
diff --git a/oUF_Experience/oUF_Experience.lua b/oUF_Experience/oUF_Experience.lua
index 1fea3b7..ad3d4e6 100644
--- a/oUF_Experience/oUF_Experience.lua
+++ b/oUF_Experience/oUF_Experience.lua
@@ -23,7 +23,7 @@ local function UpdateElement(self, bar)
if(bar.rested) then
local rested = GetXPExhaustion() or 0
bar.rested:SetMinMaxValues(0, max)
- bar.rested:SetValue(rested)
+ bar.rested:SetValue(rested + min)
bar.rested:SetFrameLevel(2)
end