From 0de11fc7ac14555adad9ba6459f6ea01769c65c3 Mon Sep 17 00:00:00 2001 From: Harley White Date: Tue, 8 Jun 2021 19:39:23 -0400 Subject: [PATCH] Basic fixes --- changelog.md | 4 +++- js/technical/systemComponents.js | 2 +- js/technical/temp.js | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 3815969..eb60799 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ # The Modding Tree changelog: -- Broke the css file down into many files to make it easier to find and customize what matters. If you already have custom CSS, keep that and ignore the new ones maybe? +- Broke up style.css into many files to make it easier to find and customize what matters. If you already have custom CSS, keep that and ignore the new ones maybe? - Added buyable and clickable trees. +- Fixed the passiveGeneration display. +- Fixed "marked" feature. ## v2.6.1 - 6/7/21 - Added global background style to mod.js. diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js index ca71f20..509bfad 100644 --- a/js/technical/systemComponents.js +++ b/js/technical/systemComponents.js @@ -58,7 +58,7 @@ var systemComponents = { tmp[layer].canClick ? (tmp[layer].tooltip ? tmp[layer].tooltip : 'I am a button!') : (tmp[layer].tooltipLocked ? tmp[layer].tooltipLocked : 'I am a button!') )"> - + ` }, diff --git a/js/technical/temp.js b/js/technical/temp.js index 63e4601..b5cbce5 100644 --- a/js/technical/temp.js +++ b/js/technical/temp.js @@ -100,6 +100,7 @@ function updateTemp() { tmp[layer].trueGlowColor = tmp[layer].glowColor tmp[layer].notify = shouldNotify(layer) tmp[layer].prestigeNotify = prestigeNotify(layer) + if (tmp[layer].passiveGeneration === true) tmp[layer].passiveGeneration = 1 // new Decimal(true) = decimalZero }