Skip to content

Commit

Permalink
Fixed animation group issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tdymel committed Mar 19, 2017
1 parent 49e668f commit 0a17e68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CreateFrame("Frame", "MPOWA", UIParent)
MPOWA.Build = 45
MPOWA.Build = 46
MPOWA.Cloaded = false
MPOWA.loaded = false
MPOWA.selected = 1
Expand Down
5 changes: 4 additions & 1 deletion libs/AnimationGroup/group.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ function AnimationGroup:__LoadProperties()

local point = self.properties.point
if point and point[1] then
self.parent:SetPoint(unpack(point))
local p1 = unpack(point)
if p1 then
self.parent:SetPoint(unpack(point))
end
end
end

Expand Down

0 comments on commit 0a17e68

Please sign in to comment.