Fixed locals
p3lim-52096 [10-14-08 - 16:20]
Fixed locals
git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@32 8c7459ed-49dc-4bc8-85d7-b6381a8f5413
diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua
index 963eabb..badebf6 100644
--- a/oUF_P3lim/oUF_P3lim.lua
+++ b/oUF_P3lim/oUF_P3lim.lua
@@ -98,8 +98,8 @@ local function PreUpdatePower(self, event, unit)
local max = UnitPowerMax('player', SPELL_POWER_MANA)
local druidmana = self.DruidMana
- local druidmana:SetMinMaxValues(0, max)
- local druidmana:SetValue(min)
+ druidmana:SetMinMaxValues(0, max)
+ druidmana:SetValue(min)
if(min ~= max) then
druidmana.Text:SetFormattedText('%d%%', math.floor(min / max * 100))