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:
SkyanUltra 2025-11-25 06:42:09 -05:00
parent 89320edc9f
commit 10b49072f4

View file

@ -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: