aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-26 16:24:02 +0200
committertpart <tpart120@proton.me>2024-06-26 16:24:02 +0200
commit2ce3b759c4cd27dc422924fde991a9de85524be5 (patch)
treede87fa4369a98bd91754c426bc0aa1251d1a6b43
parent5d280643f19196d4eab75d2cd0980258fb7af649 (diff)
downloadhurrycurry-2ce3b759c4cd27dc422924fde991a9de85524be5.tar
hurrycurry-2ce3b759c4cd27dc422924fde991a9de85524be5.tar.bz2
hurrycurry-2ce3b759c4cd27dc422924fde991a9de85524be5.tar.zst
Fix error menu focus; Fix transition target of error menu
-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")