diff --git a/js/utils.js b/js/utils.js index 50286f0..dd7fcfc 100644 --- a/js/utils.js +++ b/js/utils.js @@ -72,7 +72,7 @@ function startPlayerBase() { notify: {}, msDisplay: "always", offlineProd: true, - versionType: "Modding", + versionType: modInfo.id, version: VERSION.num, beta: VERSION.beta, timePlayed: 0, @@ -191,7 +191,7 @@ function importSave(imported=undefined, forced=false) { if (imported===undefined) imported = prompt("Paste your save here") try { tempPlr = Object.assign(getStartPlayer(), JSON.parse(atob(imported))) - if(tempPlr.versionType != modInfo.id && !forced) // Wrong save (use "Forced" to force it to accept.) + if(tempPlr.versionType != modInfo.id && !forced && !confirm("This save appears to be for a different mod! Are you sure you want to import?")) // Wrong save (use "Forced" to force it to accept.) return player = tempPlr; player.versionType = modInfo.id