From d192b1546ab39180cdc28d2621c117539e3d26d6 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 1 May 2024 09:41:02 +0200 Subject: update --- Scenes/Entities/Enemies/Tree.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scenes/Entities/Enemies/Tree.gd') diff --git a/Scenes/Entities/Enemies/Tree.gd b/Scenes/Entities/Enemies/Tree.gd index 7c87a18..db78788 100644 --- a/Scenes/Entities/Enemies/Tree.gd +++ b/Scenes/Entities/Enemies/Tree.gd @@ -16,7 +16,7 @@ func _physics_process(delta): get_node("Movement").physics_process(delta) -func _on_detection_body_entered(body): +func _on_detection_body_entered(_body): $AnimatedSprite2D.play("spawn") await $AnimatedSprite2D.animation_finished set_physics_process(true) -- cgit v1.2.3