diff --git a/src/SaveObject.js b/src/SaveObject.js index a1ee2ba88..0f3129018 100644 --- a/src/SaveObject.js +++ b/src/SaveObject.js @@ -153,6 +153,7 @@ loadImportedGame = function(saveObj, saveString) { } dialogBoxCreate("Imported game"); + gameOptionsBoxClose(); return true; } diff --git a/src/engine.js b/src/engine.js index e27f86a84..c92d5865d 100644 --- a/src/engine.js +++ b/src/engine.js @@ -1016,6 +1016,7 @@ var Engine = { console.log("Deleting running scripts on home computer"); Player.getHomeComputer().runningScripts = []; dialogBoxCreate("Forcefully deleted all running scripts on home computer. Please save and refresh page"); + gameOptionsBoxClose(); return false; }); @@ -1023,6 +1024,7 @@ var Engine = { document.getElementById("debug-soft-reset").addEventListener("click", function() { dialogBoxCreate("Soft Reset!"); prestigeAugmentation(); + gameOptionsBoxClose(); return false; }); },