WoWInterface SVN oUF_Experience

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 33 to Rev 34
    Reverse comparison

Rev 33 → Rev 34

trunk/oUF_Experience/oUF_Experience.lua
56,7 → 56,7
end
 
if(bar.Rested and unit == 'player') then
if(GetXPExhaustion() > 0) then
if(GetXPExhaustion() and GetXPExhaustion() > 0) then
bar.Rested:SetMinMaxValues(min, max)
bar.Rested:SetValue(math.min(min + GetXPExhaustion(), max))
else