From d4eb6e630cc4ea73c7af6f9f849ac60b61c59e67 Mon Sep 17 00:00:00 2001 From: JHDev2006 Date: Wed, 29 Oct 2025 21:02:28 +0000 Subject: [PATCH] quick fix for the bonus coin heavens not activating all coins when collected, idk how to word it, but its fixed now --- Assets/Sprites/Items/Vine.json | 2 +- Scripts/Classes/Entities/Items/Coin.gd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Sprites/Items/Vine.json b/Assets/Sprites/Items/Vine.json index f41372f..5668458 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 4940485..dda006b 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