mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-06 03:30:22 -08:00
Quick death hang time patch JUST in case
Again, not sure if this changes a whole lot, but it just feels safer, you know?
This commit is contained in:
parent
89320edc9f
commit
10b49072f4
1 changed files with 3 additions and 2 deletions
|
|
@ -1101,6 +1101,7 @@ func die(pit: bool = false, type: String = "") -> void:
|
|||
get_tree().paused = true
|
||||
Level.can_set_time = true
|
||||
Level.first_load = true
|
||||
if physics_params("DEATH_HANG_TIMER", DEATH_PARAMETERS) > 0:
|
||||
AudioManager.set_music_override(AudioManager.MUSIC_OVERRIDES.SILENCE, 999, false)
|
||||
await get_tree().create_timer(physics_params("DEATH_HANG_TIMER", DEATH_PARAMETERS)).timeout
|
||||
if Global.current_game_mode != Global.GameMode.BOO_RACE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue