summaryrefslogtreecommitdiff
path: root/UI/GameOver.gd
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
committerDaniel Weipert <code@drogueronin.de>2023-06-18 16:43:22 +0200
commit395c25b1fbe51f42decf402f97e51eabcc8c0a77 (patch)
tree72a17c71a39b53d328a76e111ae205d9538d64d0 /UI/GameOver.gd
parent2686ec6d4af6b5437a5f5a5cac008f3d38295f78 (diff)
Godot v3 -> v4
Diffstat (limited to 'UI/GameOver.gd')
-rw-r--r--UI/GameOver.gd2
1 files changed, 1 insertions, 1 deletions
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")