allow pause to start marathon mode

This commit is contained in:
Haze Weathers 2023-12-30 22:19:54 -05:00
parent 32803e9fc3
commit 176741fefc

View file

@ -20,7 +20,7 @@ func _ready() -> void:
func _input(event: InputEvent) -> void: func _input(event: InputEvent) -> void:
if Input.is_action_just_pressed("ui_accept"): if Input.is_action_just_pressed("ui_accept") or Input.is_action_just_pressed("pause"):
Game.lives = Game.marathon_lives Game.lives = Game.marathon_lives
Game.marathon_score = 0 Game.marathon_score = 0
Game.marathon_shards = 0 Game.marathon_shards = 0