瀏覽代碼

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

badlogic 8 年之前
父節點
當前提交
88228e8bd9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 				mesh.inheritDeform = getValue(map, "deform", true)
 				table_insert(self.linkedMeshes, {
 				table_insert(self.linkedMeshes, {
 						mesh = mesh,
 						mesh = mesh,
-						skin = getValue(map, skin, nil),
+						skin = getValue(map, "skin", nil),
 						slotIndex = slotIndex,
 						slotIndex = slotIndex,
 						parent = parent
 						parent = parent
 				})
 				})