aboutsummaryrefslogtreecommitdiff
path: root/client/menu/error_menu.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-26 16:53:14 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-26 16:53:14 +0200
commit1e88790bf75baefc48e2950529f0b6e930534830 (patch)
treed1acf176d8031947718e8bb00946af74967604f4 /client/menu/error_menu.gd
parent2ca6ac7ab329036d0155de2de4b0a11f3a785414 (diff)
parent89310ea939d495274302d207be34cceae618768c (diff)
downloadhurrycurry-1e88790bf75baefc48e2950529f0b6e930534830.tar
hurrycurry-1e88790bf75baefc48e2950529f0b6e930534830.tar.bz2
hurrycurry-1e88790bf75baefc48e2950529f0b6e930534830.tar.zst
Merge branch 'master' of https://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")