summaryrefslogtreecommitdiff
path: root/UI/spawn_button.gd
diff options
context:
space:
mode:
Diffstat (limited to 'UI/spawn_button.gd')
-rw-r--r--UI/spawn_button.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/UI/spawn_button.gd b/UI/spawn_button.gd
index bcf9da0..a5a1947 100644
--- a/UI/spawn_button.gd
+++ b/UI/spawn_button.gd
@@ -13,4 +13,4 @@ func _on_pressed() -> void:
unit.unit_resource = unit_resource
- Client.spawn_unit(unit, Client.current_stage.get_spawn(), Client.current_stage.get_overwrite_target())
+ Client.spawn_unit(unit, Client.current_stage.get_spawn(), Client.current_stage.get_spawn_target())