library-defold-tilemap-animator icon indicating copy to clipboard operation
library-defold-tilemap-animator copied to clipboard

Fixed a `table expected, got nil` error

Open NaakkaDev opened this issue 1 year ago • 0 comments

The table.insert(dtile.tilemap_grid[dtile.tilemap_layers[i]][j], tile_id) line can spit out bad argument #1 to 'insert' (table expected, got nil) error. I'm not 100% sure but I think it happens when the tilemap_start_y is anything but 1.

NaakkaDev avatar Oct 21 '24 10:10 NaakkaDev