restart actually works again
This commit is contained in:
parent
abc448fa0a
commit
f989459751
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func _physics_process(delta):
|
|||
get_parent().add_child(Game.pause_screen.instance())
|
||||
# restart level
|
||||
if Input.is_action_just_pressed("restart"):
|
||||
call_deferred("restart_level")
|
||||
Game.call_deferred("restart_level")
|
||||
|
||||
if Game.golds == 50 && Game.shards == 5:
|
||||
#Time bonus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue