mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-05 19:20:19 -08:00
fixed a bug where the invincibility palette would stop after collecting a starman at the last second
This commit is contained in:
parent
f9017881e1
commit
b54c4b5913
3 changed files with 4 additions and 2 deletions
|
|
@ -891,7 +891,8 @@ func do_smoke_effect() -> void:
|
|||
func on_timeout() -> void:
|
||||
AudioManager.stop_music_override(AudioManager.MUSIC_OVERRIDES.STAR)
|
||||
await get_tree().create_timer(1, false).timeout
|
||||
is_invincible = false
|
||||
if $StarTimer.is_stopped():
|
||||
is_invincible = false
|
||||
|
||||
|
||||
func on_area_entered(area: Area2D) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue