chore: update version

This commit is contained in:
Azgaar 2024-08-30 13:43:50 +02:00
parent 2ce8715960
commit 1fe6156ea2
7 changed files with 31 additions and 26 deletions

View file

@ -379,6 +379,7 @@ async function parseLoadedData(data, mapVersion) {
pack.rivers = data[32] ? JSON.parse(data[32]) : [];
pack.markers = data[35] ? JSON.parse(data[35]) : [];
pack.routes = data[37] ? JSON.parse(data[37]) : [];
pack.zones = data[38] ? JSON.parse(data[38]) : [];
const cells = pack.cells;
cells.biome = Uint8Array.from(data[16].split(","));

View file

@ -100,6 +100,7 @@ function prepareMapData() {
const markers = JSON.stringify(pack.markers);
const cellRoutes = JSON.stringify(pack.cells.routes);
const routes = JSON.stringify(pack.routes);
const zones = JSON.stringify(pack.zones);
// store name array only if not the same as default
const defaultNB = Names.getNameBases();
@ -152,7 +153,8 @@ function prepareMapData() {
fonts,
markers,
cellRoutes,
routes
routes,
zones
].join("\r\n");
return mapData;
}