Эх сурвалжийг харах

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

badlogic 8 жил өмнө
parent
commit
88228e8bd9

+ 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
 				})