mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
pump version to 1.82.0
This commit is contained in:
parent
3e2de84a62
commit
068cf7957e
3 changed files with 5 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue