[lua] Fixed wrong operator in PathAttachment:copy.

This commit is contained in:
badlogic 2019-05-16 16:09:24 +02:00
parent b5039e5f81
commit 7f4a6eb8f0

View File

@ -50,7 +50,7 @@ end
function PathAttachment:copy () function PathAttachment:copy ()
local copy = PathAttachment.new(self.name) local copy = PathAttachment.new(self.name)
self.copyTo(copy) self:copyTo(copy)
copy.length = utils.copy(self.lengths) copy.length = utils.copy(self.lengths)
copy.closed = self.closed copy.closed = self.closed
copy.constantSpeed = self.constantSpeed copy.constantSpeed = self.constantSpeed