aboutsummaryrefslogtreecommitdiff
path: root/scripts/spawner.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-02-08 11:24:51 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-02-08 11:24:51 +0100
commiteea642395bb0ef706c7241d4a749f3e0ac4cc460 (patch)
tree6c015c9315b0102247661f942b018ccf8c45551d /scripts/spawner.gd
parente8b2ea6b2bf789b7942d86faebbcc4d810741f25 (diff)
revised wave generation
Diffstat (limited to 'scripts/spawner.gd')
-rw-r--r--scripts/spawner.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spawner.gd b/scripts/spawner.gd
index 9866168..284ae76 100644
--- a/scripts/spawner.gd
+++ b/scripts/spawner.gd
@@ -20,5 +20,5 @@ func _on_timer_batch_timeout():
queue_free()
return
- enemy_holder.spawn(n.enemy)
+ enemy_holder.spawn(n.enemy, 0, 0, n.hp)
start(n.cooldown)