From df9c2da09d3240abd603a954c89386ef53f45faa Mon Sep 17 00:00:00 2001 From: Acamaeda Date: Sun, 27 Sep 2020 16:25:06 -0400 Subject: [PATCH] Fixed new nodes not changing color when you can unlock them --- index.html | 4 ++-- js/v.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d85b807..4031a37 100644 --- a/index.html +++ b/index.html @@ -106,8 +106,8 @@
You have -

{{format(player.points)}}

- candies +

{{format(player.points)}}

+ points




diff --git a/js/v.js b/js/v.js index 8175d99..f09b981 100644 --- a/js/v.js +++ b/js/v.js @@ -17,7 +17,7 @@ function loadVue() { treeNode: true, [layer]: true, hidden: !layers[layer].layerShown(), - locked: !player[layer].unl, + locked: !player[layer].unl && !tmp.layerAmt[layer].gte(tmp.layerReqs[layer]), can: layerUnl(layer), }" v-bind:style="{