refactor: dump all layers

This commit is contained in:
cha0s 2024-11-09 20:57:56 -06:00
parent 4c9635ec83
commit 85b0e59907

View File

@ -173,7 +173,7 @@ export default class Engine {
{ {
type: 'Download', type: 'Download',
payload: { payload: {
data: TileLayers.layer(0).data, data: TileLayers.layers.map((_, i) => TileLayers.layer(i).data),
filename: 'tiles.json', filename: 'tiles.json',
}, },
}, },