mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
The speedrun timer, can now be paused (not fullgame marathons tho, cause uhhhhh yea)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user