The speedrun timer, can now be paused (not fullgame marathons tho, cause uhhhhh yea)

This commit is contained in:
JHDev2006
2025-09-16 15:18:53 +01:00
parent e438354bf8
commit 2a26c6a7e7
4 changed files with 12 additions and 8 deletions

View File

@@ -507,7 +507,7 @@ func do_i_frames() -> void:
refresh_hitbox()
func die(pit := false) -> void:
if state_machine.state.name == "Dead" or state_machine.state.name == "Pipe":
if ["Dead", "Pipe", "LevelExit"].has(state_machine.state.name):
return
is_dead = true
visible = not pit