Browse Source

[lua] Closes #754, passed wrong type to getValue in SkeletonJson

badlogic 8 years ago
parent
commit
88228e8bd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-lua/SkeletonJson.lua

+ 1 - 1
spine-lua/SkeletonJson.lua

@@ -337,7 +337,7 @@ function SkeletonJson.new (attachmentLoader)
 				mesh.inheritDeform = getValue(map, "deform", true)
 				table_insert(self.linkedMeshes, {
 						mesh = mesh,
-						skin = getValue(map, skin, nil),
+						skin = getValue(map, "skin", nil),
 						slotIndex = slotIndex,
 						parent = parent
 				})