[lua] Incorrect check for end slot. Fixes #1489.

This commit is contained in:
badlogic 2019-09-12 14:48:53 +02:00
parent df748dbe4b
commit e74274eebe

View File

@ -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()