diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-05-01 09:41:02 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-05-01 09:41:02 +0200 |
commit | d192b1546ab39180cdc28d2621c117539e3d26d6 (patch) | |
tree | bfe040b5fa56aab1cf1161aab4883ba6ca3510df /Scenes/Entities/Enemies/Tree.gd | |
parent | 81cc6f1d22677dd4a60aa9377c91b291bf10e523 (diff) |
update
Diffstat (limited to 'Scenes/Entities/Enemies/Tree.gd')
-rw-r--r-- | Scenes/Entities/Enemies/Tree.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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) |