summaryrefslogtreecommitdiff
path: root/Game/Client.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Client.gd')
-rw-r--r--Game/Client.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Client.gd b/Game/Client.gd
index f4fd1e6..88c59c2 100644
--- a/Game/Client.gd
+++ b/Game/Client.gd
@@ -91,7 +91,7 @@ func spawn_unit(unit: Unit, spawn: Spawn, overwrite_target: PathNode = null):
unit.global_position = spawn.spawn_position
unit.target = spawn.next_node
unit.hp = randi_range(5, 10) #20000b
- unit.speed = randi_range(50, 150)
+ unit.base_speed = randi_range(50, 150)
if overwrite_target:
unit.target = overwrite_target