aboutsummaryrefslogtreecommitdiff
path: root/client/menu/error_menu.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-24 20:35:26 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-24 20:35:26 +0200
commit7c15d7c2ae45c1694cb6b6def98ad5c79a414d08 (patch)
tree100fe0d9265a3eeee0972b8590d3126e4e5efbd3 /client/menu/error_menu.gd
parentdbb52c813e64fbe4e733dbfec4e29889d288873e (diff)
downloadhurrycurry-7c15d7c2ae45c1694cb6b6def98ad5c79a414d08.tar
hurrycurry-7c15d7c2ae45c1694cb6b6def98ad5c79a414d08.tar.bz2
hurrycurry-7c15d7c2ae45c1694cb6b6def98ad5c79a414d08.tar.zst
show websocket errors
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")