mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 08:31:33 +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
|
- Fixed demo.html
|
||||||
- You can now use "this" in tabFormat!
|
- You can now use "this" in tabFormat!
|
||||||
- The prestige/sec display now shows decimals.
|
- The prestige/sec display now shows decimals.
|
||||||
|
- resetsNothing now works immediately on a reset that enables it.
|
||||||
- Added onComplete for milestones.
|
- 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).
|
- 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.
|
- Things are 0.2% more optimized.
|
||||||
|
|
|
@ -217,7 +217,7 @@ function doReset(layer, force=false) {
|
||||||
tmp[layer].baseAmount = decimalZero // quick fix
|
tmp[layer].baseAmount = decimalZero // quick fix
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tmp[layer].resetsNothing) return
|
if (run(layers[layer].resetsNothing, layers[layer])) return
|
||||||
|
|
||||||
|
|
||||||
for (layerResetting in layers) {
|
for (layerResetting in layers) {
|
||||||
|
|
Loading…
Reference in a new issue