mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
Force-displayed tooltips are not hidden by resets.
This commit is contained in:
parent
759be4448d
commit
5ed897bd7b
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
- Amount is automatically supplied to buyable cost and effect functions.
|
- Amount is automatically supplied to buyable cost and effect functions.
|
||||||
- Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space.
|
- Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space.
|
||||||
- Re-centered respec buttons.
|
- Re-centered respec buttons.
|
||||||
|
- Force-displayed tooltips are not hidden by resets.
|
||||||
|
|
||||||
# v2.4.1 - 4/29/21
|
# v2.4.1 - 4/29/21
|
||||||
- A number of minor fixes, many thanks to thepaperpilot.
|
- A number of minor fixes, many thanks to thepaperpilot.
|
||||||
|
|
|
@ -131,7 +131,7 @@ function rowReset(row, layer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function layerDataReset(layer, keep = []) {
|
function layerDataReset(layer, keep = []) {
|
||||||
let storedData = {unlocked: player[layer].unlocked} // Always keep unlocked
|
let storedData = {unlocked: player[layer].unlocked, forceTooltip: player[layer].forceTooltip} // Always keep these
|
||||||
|
|
||||||
for (thing in keep) {
|
for (thing in keep) {
|
||||||
if (player[layer][keep[thing]] !== undefined)
|
if (player[layer][keep[thing]] !== undefined)
|
||||||
|
|
Loading…
Reference in a new issue