feat: Update version and use constant for VERSION in multiple files

This commit is contained in:
Azgaar 2024-08-26 04:40:25 +02:00
parent 5fd55f3f9c
commit 5ec682562b
8 changed files with 31 additions and 32 deletions

View file

@ -41,7 +41,7 @@ function prepareMapData() {
const date = new Date();
const dateString = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
const license = "File can be loaded in azgaar.github.io/Fantasy-Map-Generator";
const params = [version, license, dateString, seed, graphWidth, graphHeight, mapId].join("|");
const params = [VERSION, license, dateString, seed, graphWidth, graphHeight, mapId].join("|");
const settings = [
distanceUnitInput.value,
distanceScale,