summaryrefslogtreecommitdiff
path: root/Game/Client.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-10-27 15:52:48 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-10-27 15:52:48 +0100
commit15a1d2a66e48324e1d560dc13b776627820f3999 (patch)
tree4c062545a4c1a750293b52d5c11258f9b4218a2a /Game/Client.gd
parenta495681453c97578cc4a408d6919c6879524a603 (diff)
next commit
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