Fix some typos
p3lim [09-07-10 - 01:32]
diff --git a/oUF_Experience.lua b/oUF_Experience.lua
index 11df969..1241990 100644
--- a/oUF_Experience.lua
+++ b/oUF_Experience.lua
@@ -55,13 +55,13 @@ local function Path(self, ...)
end
local function ForceUpdate(element)
- return Path(element.__owner, 'ForceUpdate', element.__parent.unit)
+ return Path(element.__owner, 'ForceUpdate', element.__owner.unit)
end
local function Enable(self)
local experience = self.Experience
if(experience) then
- experience.__parent = self
+ experience.__owner = self
experience.ForceUpdate = ForceUpdate
self:RegisterEvent('PLAYER_XP_UPDATE', Path)