mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-24 00:10:52 +00:00
fixed a bug where the invincibility palette would stop after collecting a starman at the last second
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user