mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v 0.8.02b
This commit is contained in:
parent
a90e26a713
commit
bf53458009
2 changed files with 9 additions and 2 deletions
|
|
@ -197,7 +197,8 @@ function uploadFile(file, callback) {
|
|||
const parsed = parseFloat(mapVersion);
|
||||
let message = "", load = false;
|
||||
if (isNaN(parsed) || data.length < 26 || !data[5]) {
|
||||
message = `The file you are trying to load is not a valid .map file`;
|
||||
message = `The file you are trying to load is outdated or not a valid .map file.
|
||||
<br>Please try to open it using an ${archive}`;
|
||||
} else if (parsed < 0.7) {
|
||||
message = `The map version you are trying to load (${mapVersion}) is too old and cannot be updated to the current version.
|
||||
<br>Please keep using an ${archive}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue