mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
swithced order of death loading, so game overs take priority
This commit is contained in:
@@ -630,10 +630,10 @@ func death_load() -> void:
|
|||||||
# Determine which action to take
|
# Determine which action to take
|
||||||
if death_actions.has(Global.current_game_mode):
|
if death_actions.has(Global.current_game_mode):
|
||||||
death_actions[Global.current_game_mode].call()
|
death_actions[Global.current_game_mode].call()
|
||||||
|
if Global.lives <= 0 and Settings.file.difficulty.inf_lives == 0:
|
||||||
|
death_actions["game_over"].call()
|
||||||
elif Global.time <= 0:
|
elif Global.time <= 0:
|
||||||
death_actions["time_up"].call()
|
death_actions["time_up"].call()
|
||||||
elif Global.lives <= 0 and Settings.file.difficulty.inf_lives == 0:
|
|
||||||
death_actions["game_over"].call()
|
|
||||||
else:
|
else:
|
||||||
death_actions["default_reload"].call()
|
death_actions["default_reload"].call()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user