forked from team-sg/hero-mark-2
no level restart/select shenanagins during the grand marathon
This commit is contained in:
parent
d06acf2522
commit
3e3b327f5e
4 changed files with 19 additions and 3 deletions
|
@ -41,7 +41,7 @@ func _physics_process(delta):
|
|||
pause.lore_entries = lore_entries
|
||||
get_parent().add_child(pause)
|
||||
# restart level
|
||||
if Input.is_action_just_pressed("restart"):
|
||||
if Input.is_action_just_pressed("restart") and not Game.marathon_mode:
|
||||
Game.call_deferred("restart_level")
|
||||
|
||||
if Game.keys == 50 && Game.shards == 5:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue