saves hotfix
This commit is contained in:
parent
71fd50a68e
commit
a25d193d93
|
|
@ -20459,10 +20459,10 @@ window.onload = function() {
|
||||||
//post-load
|
//post-load
|
||||||
let tempSave = localStorage.getItem("SandboxelsTempSave");
|
let tempSave = localStorage.getItem("SandboxelsTempSave");
|
||||||
if (tempSave) {
|
if (tempSave) {
|
||||||
|
localStorage.removeItem("SandboxelsTempSave");
|
||||||
let json = JSON.parse(tempSave);
|
let json = JSON.parse(tempSave);
|
||||||
lastSaveJSON = json;
|
lastSaveJSON = json;
|
||||||
loadSave(json,3,3)
|
loadSave(json,3,3)
|
||||||
localStorage.removeItem("SandboxelsTempSave")
|
|
||||||
}
|
}
|
||||||
else if (urlParams.has("discord")) {
|
else if (urlParams.has("discord")) {
|
||||||
let saveID = parseInt(urlParams.get("discord"));
|
let saveID = parseInt(urlParams.get("discord"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue