diff --git a/src/components/system/Nav.vue b/src/components/system/Nav.vue index dd84a2a..c71981d 100644 --- a/src/components/system/Nav.vue +++ b/src/components/system/Nav.vue @@ -83,7 +83,6 @@ export default { }, openDialog(dialog) { this[`show${dialog}`] = true; - console.log(`show${dialog}`, this[`show${dialog}`]); }, closeDialog(dialog) { this[`show${dialog}`] = false; diff --git a/src/components/tree/TreeNode.vue b/src/components/tree/TreeNode.vue index 2a2de9e..5fb92c8 100644 --- a/src/components/tree/TreeNode.vue +++ b/src/components/tree/TreeNode.vue @@ -72,7 +72,7 @@ export default { return this.layer.tooltipLocked || this.layer.tooltip || 'I am a button!'; } } - if (this.layer.unlocked) { + if (player[this.id].unlocked) { return this.layer.tooltip || `${formatWhole(player[this.id].points)} ${this.layer.resource}`; } else { return this.layer.tooltipLocked ||