Kadoba / Advanced-Tiled-Loader

Imports Tiled maps into Lua for the LÖVE game engine. (NO LONGER IN DEVELOPMENT)
183 stars 30 forks source link

Error when using loader.save() #21

Closed SpiderDave closed 11 years ago

SpiderDave commented 11 years ago

In Loader.lua line 715 I think you have compactProperties when it should be _compactProperties.

if next(object.properties) then objectx[#objectx+1] = Loader.compactProperties(object.properties) end

If I add the underscore the error goes away.

Kadoba commented 11 years ago

Thanks. It's fixed now.