diff --git a/Assets/Sprites/Items/Vine.json b/Assets/Sprites/Items/Vine.json index f41372fe..5668458b 100644 --- a/Assets/Sprites/Items/Vine.json +++ b/Assets/Sprites/Items/Vine.json @@ -67,4 +67,4 @@ ] } } -} \ No newline at end of file +} diff --git a/Scripts/Classes/Entities/Items/Coin.gd b/Scripts/Classes/Entities/Items/Coin.gd index 49404852..dda006b1 100644 --- a/Scripts/Classes/Entities/Items/Coin.gd +++ b/Scripts/Classes/Entities/Items/Coin.gd @@ -13,6 +13,7 @@ func area_entered(area: Area2D) -> void: collect() func collect() -> void: + remove_from_group("Coins") collected.emit() $Hitbox.area_entered.disconnect(area_entered) Global.coins += 1