diff options
author | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-20 21:29:25 +0200 |
---|---|---|
committer | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-20 21:29:25 +0200 |
commit | 5ced658bf540d89b1ab3b3b5a832a83f1ea2c84b (patch) | |
tree | 03a01fad894a0c688bd3f3fb335a67580daedc4c /lib/building_interface.gd | |
parent | 8e7a0f087282b42a3571f3d35b4ad615df153ec8 (diff) | |
parent | 4ee37d0af87705933357a6577d971feaa78b7b43 (diff) | |
download | LDJam46-5ced658bf540d89b1ab3b3b5a832a83f1ea2c84b.tar.gz LDJam46-5ced658bf540d89b1ab3b3b5a832a83f1ea2c84b.tar.bz2 LDJam46-5ced658bf540d89b1ab3b3b5a832a83f1ea2c84b.zip |
Merge branch 'master' of https://github.com/romangraef/LDJam46
Diffstat (limited to 'lib/building_interface.gd')
-rw-r--r-- | lib/building_interface.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/building_interface.gd b/lib/building_interface.gd index b03d3d1..23daa3f 100644 --- a/lib/building_interface.gd +++ b/lib/building_interface.gd @@ -11,7 +11,9 @@ func _process(delta): func update_label(): var label : Label = $Label + var cost : Label = $Cost label.text = str(get_amount()) + cost.text = str(get_cost()) func get_cost() -> float: return floor(base_cost * pow(cost_multiplier, get_amount())) |