diff options
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())) |