aboutsummaryrefslogtreecommitdiff
path: root/client/menu/error_menu.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/error_menu.gd')
-rw-r--r--client/menu/error_menu.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/menu/error_menu.gd b/client/menu/error_menu.gd
index 9938ee9d..087261e5 100644
--- a/client/menu/error_menu.gd
+++ b/client/menu/error_menu.gd
@@ -1,7 +1,8 @@
extends Control
func _ready():
+ Global.focus_first_button(self)
$Panel/contents/mesage.text = Global.error_message
func _on_return_pressed():
- $SceneTransition.transition_to("res://menu/main_menu.tscn")
+ $SceneTransition.transition_to("res://menu/menu_manager.tscn")