diff --git a/js/Demo/demoLayers.js b/js/Demo/demoLayers.js index 9b6e2a4..ccdc10d 100644 --- a/js/Demo/demoLayers.js +++ b/js/Demo/demoLayers.js @@ -109,6 +109,7 @@ addLayer("c", { description: "Gain 1 Point every second.", cost: new Decimal(1), unlocked() { return player[this.layer].unlocked }, // The upgrade is only visible when this is true + branches: [12] }, 12: { description: "Point generation is faster based on your unspent Lollipops.", @@ -353,7 +354,8 @@ addLayer("c", { ["raw-html", function() {return "

C O N F I R M E D

"}], "blank", ["microtabs", "stuff", {'width': '600px', 'height': '350px', 'background-color': 'brown', 'border-style': 'solid'}], ["display-text", "Adjust how many points H gives you!"], - ["slider", ["otherThingy", 1, 30]], + ["slider", ["otherThingy", 1, 30]], "blank", ["upgrade-tree", [[11], + [12, 22, 22, 11]]] ] } diff --git a/js/components.js b/js/components.js index 228947a..a3711d4 100644 --- a/js/components.js +++ b/js/components.js @@ -172,7 +172,7 @@ function loadVue() { Vue.component('upgrade', { props: ['layer', 'data'], template: ` -