Not sure where it is best to post this, but if anyone ever has this bug trying to reproduce the map loading from ‘topdown.lua’
attempt to index upvalue 'map' (a nil value)
It’s because on newer versions of Tiled you need to explicitly embed the tileset before exporting your map to lua 😅 I thought I was going crazy because of this, I’ve been debugging this for a full day before finding this.