mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-21 16:13:55 +00:00
Fixed new nodes not changing color when you can unlock them
This commit is contained in:
parent
fc18275f8c
commit
df9c2da09d
2 changed files with 3 additions and 3 deletions
|
@ -106,8 +106,8 @@
|
|||
</span>
|
||||
<br>
|
||||
<span v-if="player.points.lt('1e1000')">You have </span>
|
||||
<h2 id="candies">{{format(player.points)}}</h2>
|
||||
<span v-if="player.points.lt('1e1e6')"> candies</span>
|
||||
<h2 id="points">{{format(player.points)}}</h2>
|
||||
<span v-if="player.points.lt('1e1e6')"> points</span>
|
||||
<br><br><br><br><br>
|
||||
<table>
|
||||
<td><layer-node layer='c' abb='C'></layer-node></td>
|
||||
|
|
2
js/v.js
2
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="{
|
||||
|
|
Loading…
Reference in a new issue