Gameover menu
This commit is contained in:
parent
175bd597c5
commit
b26c4a4be0
7 changed files with 80 additions and 1 deletions
|
@ -38,3 +38,7 @@ func get_door_with_connection(outgoingDoor):
|
|||
return door
|
||||
|
||||
return null
|
||||
|
||||
func _on_Player_died():
|
||||
yield(get_tree().create_timer(1.0), "timeout")
|
||||
get_tree().change_scene("res://Scenes/Menus/GameOverMenu.tscn")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue