Bug in Map:getTileSetFromGID(gid) ?

This is all a little scary as I only understand a few percent of the Lime code, but I received the following error message after I added an object to the CollectibleItems tutorial code:

1
2
3
4
5
6
7
8
Runtime error
        ...s/franks/MySqwormy/CollectibleItemsIPad/lime-map.lua:574: attempt to compare string with nil
stack traceback:
        [C]: ?
        ...s/franks/MySqwormy/CollectibleItemsIPad/lime-map.lua:574: in function 'getTileSetFromGID'
        ...ranks/MySqwormy/CollectibleItemsIPad/lime-object.lua:416: in function 'create'
        .../MySqwormy/CollectibleItemsIPad/lime-objectLayer.lua:531: in function 'create'
        ...s/franks/MySqwormy/CollectibleItemsIPad/lime-map.lua:1070: in function <...s/franks/MySqwormy/CollectibleItemsIPad/lime-map.lua:1050>

Hey, no idea why I was originally getting a tile layer when I wanted a tileset so thankyou for fixing it for me :-) The fix will be put in to 2.8

views:1477 update:2011/10/13 16:39:51
corona forums © 2003-2011