mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-11-01 20:29:42 +00:00
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:
@@ -13,6 +13,7 @@ func area_entered(area: Area2D) -> void:
|
|||||||
collect()
|
collect()
|
||||||
|
|
||||||
func collect() -> void:
|
func collect() -> void:
|
||||||
|
remove_from_group("Coins")
|
||||||
collected.emit()
|
collected.emit()
|
||||||
$Hitbox.area_entered.disconnect(area_entered)
|
$Hitbox.area_entered.disconnect(area_entered)
|
||||||
Global.coins += 1
|
Global.coins += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user