Close Options box when selecting certain actions

This commit is contained in:
Daniel Xie 2017-06-08 00:08:53 -05:00
parent ce0b5f83dc
commit b7b4617cee
2 changed files with 3 additions and 0 deletions

@ -153,6 +153,7 @@ loadImportedGame = function(saveObj, saveString) {
}
dialogBoxCreate("Imported game");
gameOptionsBoxClose();
return true;
}

@ -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;
});
},