saves hotfix

This commit is contained in:
slweeb 2025-12-26 15:58:44 -05:00 committed by GitHub
parent 71fd50a68e
commit a25d193d93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -20459,10 +20459,10 @@ window.onload = function() {
//post-load
let tempSave = localStorage.getItem("SandboxelsTempSave");
if (tempSave) {
localStorage.removeItem("SandboxelsTempSave");
let json = JSON.parse(tempSave);
lastSaveJSON = json;
loadSave(json,3,3)
localStorage.removeItem("SandboxelsTempSave")
}
else if (urlParams.has("discord")) {
let saveID = parseInt(urlParams.get("discord"));