forked from team-sg/hero-mark-2
disable pausing while beating a level
This commit is contained in:
parent
5968de9ced
commit
65f6467205
4 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue