quick fix for the bonus coin heavens not activating all coins when collected, idk how to word it, but its fixed now

This commit is contained in:
JHDev2006
2025-10-29 21:02:28 +00:00
parent b17acb4deb
commit d4eb6e630c
2 changed files with 2 additions and 1 deletions

View File

@@ -67,4 +67,4 @@
]
}
}
}
}

View File

@@ -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