From 0a17e6821f20dacd959396799c57b0074bc30e0c Mon Sep 17 00:00:00 2001 From: Albea Date: Sun, 19 Mar 2017 17:04:48 +0100 Subject: [PATCH] Fixed animation group issue --- Init.lua | 2 +- libs/AnimationGroup/group.lua | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Init.lua b/Init.lua index a9e2e61..e1327e9 100644 --- a/Init.lua +++ b/Init.lua @@ -1,5 +1,5 @@ CreateFrame("Frame", "MPOWA", UIParent) -MPOWA.Build = 45 +MPOWA.Build = 46 MPOWA.Cloaded = false MPOWA.loaded = false MPOWA.selected = 1 diff --git a/libs/AnimationGroup/group.lua b/libs/AnimationGroup/group.lua index 85b0250..869602e 100644 --- a/libs/AnimationGroup/group.lua +++ b/libs/AnimationGroup/group.lua @@ -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