load exclusion for 1.811 - hotfix

This commit is contained in:
Azgaar 2022-05-14 21:43:25 +03:00
parent 4a2a2ad967
commit c87c12295b
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ function uploadMap(file, callback) {
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;
const isOutdated = mapVersion < currentVersion || mapVersion === 1.811;
if (isInvalid) return showUploadMessage("invalid", mapData, mapVersion);
if (isUpdated) return parseLoadedData(mapData);