From 96d36cee33d6321834565f0a5d412ef95c5ceffd Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 28 Dec 2023 09:07:41 +0100 Subject: next commit --- Scenes/Entities/Objects/Coin.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Scenes/Entities/Objects/Coin.gd') diff --git a/Scenes/Entities/Objects/Coin.gd b/Scenes/Entities/Objects/Coin.gd index 77fc6c2..48e30b3 100644 --- a/Scenes/Entities/Objects/Coin.gd +++ b/Scenes/Entities/Objects/Coin.gd @@ -2,6 +2,8 @@ extends StaticBody2D func _ready(): + add_to_group("coins") + var collision_area = Utilities.Collision.Area.new(self, $CollisionShape2D, false) collision_area.connect("collided", Callable(self, "_collide")) add_child(collision_area) -- cgit v1.2.3