Skip to content

Commit

Permalink
Update survival.js
Browse files Browse the repository at this point in the history
  • Loading branch information
slweeb committed Feb 11, 2024
1 parent d922f82 commit b638f12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mods/survival.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if (!settings.survival) {
}
}
settings.survival.cloner = 1;
settings.unhide = 0;
// settings.survivalClone=null; settings.survival = null; saveSettings();

survivalTimeout = null;
Expand Down Expand Up @@ -140,6 +141,7 @@ window.addEventListener("load",function(){
showSaves = function() {}
placeImage = function() {}
chooseElementPrompt = function() {}
document.getElementById("toolControls").insertAdjacentHTML("beforeend",`<button class="controlButton" title="Erases all survival.js data" onclick="if (confirm('THIS WILL ERASE ALL survival.js DATA!!! ARE YOU SURE?')) {settings.survivalClone=null; settings.survival = null; saveSettings(); location.reload()}">StartOver</button>`);
});
runAfterLoad(function(){
checkUnlock = function(element) {
Expand Down

0 comments on commit b638f12

Please sign in to comment.