generated from incremental-social/The-Modding-Tree
Added Yet Another Theme
This commit is contained in:
parent
e02defcdfa
commit
5ad2cf2ec7
2 changed files with 12 additions and 1 deletions
js/data
|
@ -168,7 +168,7 @@ addLayer("f", {
|
|||
21: {
|
||||
display() { return "Reset directory" },
|
||||
onClick() {
|
||||
if (confirm("Are you sure you want to respec?")) {
|
||||
if (confirm("Are you sure you want to respec? This will cause a File reset.")) {
|
||||
if (player[this.layer].upgrades == 0) {
|
||||
player.ach.has55 = true
|
||||
}
|
||||
|
@ -176,6 +176,7 @@ addLayer("f", {
|
|||
player[this.layer].points = player[this.layer].points.add(tmp[this.layer].upgrades[i].cost)
|
||||
}
|
||||
player[this.layer].upgrades = []
|
||||
doReset('f', true)
|
||||
}
|
||||
},
|
||||
canClick() { return true },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue