aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjuneflow <63904206+juneflow@users.noreply.github.com>2020-04-21 02:05:47 +0200
committerjuneflow <63904206+juneflow@users.noreply.github.com>2020-04-21 02:05:47 +0200
commitcba6d19d120f230f15ff59c07c8e28ebd99bb61b (patch)
tree998d187fe6e8d1ec5f269995f06c7e7260d519f9 /lib
parent054c052ccc0bf9ae444ed6a59df0472f9f0866c1 (diff)
parentb082bc1e9a004cbc9ce1c6f17a214378999d1aa6 (diff)
downloadLDJam46-cba6d19d120f230f15ff59c07c8e28ebd99bb61b.tar.gz
LDJam46-cba6d19d120f230f15ff59c07c8e28ebd99bb61b.tar.bz2
LDJam46-cba6d19d120f230f15ff59c07c8e28ebd99bb61b.zip
Merge branch 'master' of https://github.com/romangraef/LDJam46
Diffstat (limited to 'lib')
-rw-r--r--lib/building_interface.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/building_interface.gd b/lib/building_interface.gd
index 23daa3f..cb890dd 100644
--- a/lib/building_interface.gd
+++ b/lib/building_interface.gd
@@ -10,8 +10,8 @@ func _process(delta):
update_label()
func update_label():
- var label : Label = $Label
- var cost : Label = $Cost
+ var label : Label = $Node2D/Label
+ var cost : Label = $Node2D/Cost
label.text = str(get_amount())
cost.text = str(get_cost())