aboutsummaryrefslogtreecommitdiff
path: root/client/menu/error_menu.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-26 16:39:50 +0200
committernokoe <nokoe@mailbox.org>2024-06-26 16:39:50 +0200
commita8d17ba85a46169fa049c70e1a8f53ea97784c90 (patch)
treef84853b18396e510149b0704e7238c1c22b87e98 /client/menu/error_menu.gd
parent5654b69e4c7e0aafe258ad0ab73105722a389def (diff)
parent677b9c898b0fc3faac2aa505cce438a2b2189265 (diff)
downloadhurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar
hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.bz2
hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.zst
Merge branch 'master' of ssh://codeberg.org/metamuffin/undercooked
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")