summaryrefslogtreecommitdiff
path: root/UI/GameOver.gd
diff options
context:
space:
mode:
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")