mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08: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:
parent
b17acb4deb
commit
d4eb6e630c
2 changed files with 2 additions and 1 deletions
|
|
@ -67,4 +67,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue