From 395c25b1fbe51f42decf402f97e51eabcc8c0a77 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 18 Jun 2023 16:43:22 +0200 Subject: Godot v3 -> v4 --- UI/GameOver.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UI/GameOver.gd') diff --git a/UI/GameOver.gd b/UI/GameOver.gd index 6340e89..8ff8309 100644 --- a/UI/GameOver.gd +++ b/UI/GameOver.gd @@ -6,4 +6,4 @@ func _ready(): func _on_BackToLobby_pressed(): - get_tree().change_scene("res://Network/Lobby.tscn") + get_tree().change_scene_to_file("res://Network/Lobby.tscn") -- cgit v1.2.3