From 5ed897bd7b245621c45e70afc2b8ed212fc7ef31 Mon Sep 17 00:00:00 2001 From: Harley White Date: Wed, 5 May 2021 16:14:32 -0400 Subject: [PATCH] Force-displayed tooltips are not hidden by resets. --- changelog.md | 1 + js/game.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 4423dfb..41f42b0 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ - 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. - Re-centered respec buttons. +- Force-displayed tooltips are not hidden by resets. # v2.4.1 - 4/29/21 - A number of minor fixes, many thanks to thepaperpilot. diff --git a/js/game.js b/js/game.js index 4e3aa57..618b7ee 100644 --- a/js/game.js +++ b/js/game.js @@ -131,7 +131,7 @@ function rowReset(row, layer) { } 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) { if (player[layer][keep[thing]] !== undefined)