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>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
<span v-if="player.points.lt('1e1000')">You have </span>
|
<span v-if="player.points.lt('1e1000')">You have </span>
|
||||||
<h2 id="candies">{{format(player.points)}}</h2>
|
<h2 id="points">{{format(player.points)}}</h2>
|
||||||
<span v-if="player.points.lt('1e1e6')"> candies</span>
|
<span v-if="player.points.lt('1e1e6')"> points</span>
|
||||||
<br><br><br><br><br>
|
<br><br><br><br><br>
|
||||||
<table>
|
<table>
|
||||||
<td><layer-node layer='c' abb='C'></layer-node></td>
|
<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,
|
treeNode: true,
|
||||||
[layer]: true,
|
[layer]: true,
|
||||||
hidden: !layers[layer].layerShown(),
|
hidden: !layers[layer].layerShown(),
|
||||||
locked: !player[layer].unl,
|
locked: !player[layer].unl && !tmp.layerAmt[layer].gte(tmp.layerReqs[layer]),
|
||||||
can: layerUnl(layer),
|
can: layerUnl(layer),
|
||||||
}"
|
}"
|
||||||
v-bind:style="{
|
v-bind:style="{
|
||||||
|
|
Loading…
Reference in a new issue