From 068cf7957eff31aabb392a9cb26957c8de8d8c32 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 15 May 2022 18:36:11 +0300 Subject: [PATCH] pump version to 1.82.0 --- index.html | 4 ++-- modules/io/load.js | 5 ++--- versioning.js | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 1ee3db7a..b1238018 100644 --- a/index.html +++ b/index.html @@ -107,7 +107,7 @@ } } - + @@ -6237,7 +6237,7 @@ - + diff --git a/modules/io/load.js b/modules/io/load.js index c650b3b2..30736043 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -124,9 +124,8 @@ function uploadMap(file, callback) { const isInvalid = !mapData || isNaN(mapVersion) || mapData.length < 26 || !mapData[5]; const isUpdated = mapVersion === currentVersion; const isAncient = mapVersion < OLDEST_SUPPORTED_VERSION; - // TODO: temp condition for 1.811, remove when 1.82 is released - const isNewer = mapVersion > currentVersion && mapVersion !== 1.811; - const isOutdated = mapVersion < currentVersion || mapVersion === 1.811; + const isNewer = mapVersion > currentVersion; + const isOutdated = mapVersion < currentVersion; if (isInvalid) return showUploadMessage("invalid", mapData, mapVersion); if (isUpdated) return parseLoadedData(mapData); diff --git a/versioning.js b/versioning.js index ed988f51..7b0a06dc 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.81.11"; // generator version, update each time +const version = "1.82.0"; // generator version, update each time { document.title += " v" + version;