disable pausing while beating a level

This commit is contained in:
Haze Weathers 2024-07-07 16:39:22 -04:00
parent 5968de9ced
commit 65f6467205
4 changed files with 4 additions and 0 deletions

View file

@ -29,6 +29,7 @@ func _on_Boss1_entered_phase(phase):
func _on_ExitTimer_timeout():
Game.can_pause = false
Game.save_boss()
if Game.marathon_mode:
Game.current_level += 1

View file

@ -20,6 +20,7 @@ func _on_2600_entered_phase(phase):
func _on_ExitTimer_timeout():
Game.can_pause = false
Game.save_boss()
if Game.marathon_mode:
Game.current_level += 1

View file

@ -70,6 +70,7 @@ func _on_Famira_died() -> void:
func _on_death_cooldown() -> void:
Game.can_pause = false
if Game.marathon_mode:
Game.current_level += 1
if Game.current_level > LevelData.marathon_end: