pump version to 1.82.0

This commit is contained in:
Azgaar 2022-05-15 18:36:11 +03:00
parent 3e2de84a62
commit 068cf7957e
3 changed files with 5 additions and 6 deletions

View file

@ -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);