瀏覽代碼

Added missing require

Corona SDK was throwing the following error:
File: spine-lua/AttachmentLoader.lua
Line: 46
Attempt to index global 'MeshAttachment' (a nil value)
davidroulin 10 年之前
父節點
當前提交
ab79c06443
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spine-lua/AttachmentLoader.lua

+ 1 - 0
spine-lua/AttachmentLoader.lua

@@ -30,6 +30,7 @@
 
 local AttachmentType = require "spine-lua.AttachmentType"
 local RegionAttachment = require "spine-lua.RegionAttachment"
+local MeshAttachment = require "spine-lua.MeshAttachment"
 local BoundingBoxAttachment = require "spine-lua.BoundingBoxAttachment"
 
 local AttachmentLoader = {}