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.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/menu/error_menu.gd b/client/menu/error_menu.gd
new file mode 100644
index 00000000..9938ee9d
--- /dev/null
+++ b/client/menu/error_menu.gd
@@ -0,0 +1,7 @@
+extends Control
+
+func _ready():
+ $Panel/contents/mesage.text = Global.error_message
+
+func _on_return_pressed():
+ $SceneTransition.transition_to("res://menu/main_menu.tscn")