allow pause to start marathon mode
This commit is contained in:
parent
32803e9fc3
commit
176741fefc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue