From e74274eebeb6f2157543d967a7fd6f4a975ade13 Mon Sep 17 00:00:00 2001 From: badlogic Date: Thu, 12 Sep 2019 14:48:53 +0200 Subject: [PATCH] [lua] Incorrect check for end slot. Fixes #1489. --- spine-lua/SkeletonClipping.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-lua/SkeletonClipping.lua b/spine-lua/SkeletonClipping.lua index 928f63e33..08e04b1b4 100644 --- a/spine-lua/SkeletonClipping.lua +++ b/spine-lua/SkeletonClipping.lua @@ -75,7 +75,7 @@ function SkeletonClipping:clipStart(slot, clip) end function SkeletonClipping:clipEnd(slot) - if self.clipAttachment and self.clipAttachment.endSlot == slot then self:clipEnd2() end + if self.clipAttachment and self.clipAttachment.endSlot == slot.data then self:clipEnd2() end end function SkeletonClipping:clipEnd2()