mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 08:12:39 +00:00
resetsNothing now works immediately
This commit is contained in:
parent
b6bc8beb21
commit
2805c36178
3 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
- Fixed demo.html
|
||||
- You can now use "this" in tabFormat!
|
||||
- The prestige/sec display now shows decimals.
|
||||
- resetsNothing now works immediately on a reset that enables it.
|
||||
- Added onComplete for milestones.
|
||||
- Fixed certain things skipping negative rows (now they are treated like non-numeric rows, and don't appear in the tree still).
|
||||
- Things are 0.2% more optimized.
|
||||
|
|
|
@ -290,7 +290,7 @@ addLayer("c", {
|
|||
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
// Optional, lets you format the tab yourself by listing components. You can create your own components in v.js.
|
||||
tabFormat: {
|
||||
"main tab": {
|
||||
|
|
|
@ -217,7 +217,7 @@ function doReset(layer, force=false) {
|
|||
tmp[layer].baseAmount = decimalZero // quick fix
|
||||
}
|
||||
|
||||
if (tmp[layer].resetsNothing) return
|
||||
if (run(layers[layer].resetsNothing, layers[layer])) return
|
||||
|
||||
|
||||
for (layerResetting in layers) {
|
||||
|
|
Loading…
Reference in a new issue