diff options
Diffstat (limited to 'Stages/Spawn')
-rw-r--r-- | Stages/Spawn/spawn.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stages/Spawn/spawn.gd b/Stages/Spawn/spawn.gd index fd7309a..0189632 100644 --- a/Stages/Spawn/spawn.gd +++ b/Stages/Spawn/spawn.gd @@ -16,7 +16,7 @@ func _ready() -> void: $AnimatedSprite.play("default") $AnimatedSprite.animation_finished.connect(func(): - _on_spawn_timer_timeout() + #_on_spawn_timer_timeout() $SpawnTimer.start() ) @@ -28,5 +28,5 @@ func _on_spawn_timer_timeout() -> void: get_tree().current_scene.add_child(unit) spawned_count += 1 - if spawned_count == spawn_count: + if spawned_count >= spawn_count: $SpawnTimer.stop() |