aboutsummaryrefslogtreecommitdiff
path: root/client/menu/settings_menu.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-24 21:25:42 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-24 21:25:42 +0200
commit54c75911214b87664a85a2195b11cdabe11b8640 (patch)
tree346ac43c3012380b948fe423701b4ffc10bf8541 /client/menu/settings_menu.gd
parent92535c24358339638af71272f444ae843bc129c1 (diff)
downloadhurrycurry-54c75911214b87664a85a2195b11cdabe11b8640.tar
hurrycurry-54c75911214b87664a85a2195b11cdabe11b8640.tar.bz2
hurrycurry-54c75911214b87664a85a2195b11cdabe11b8640.tar.zst
add settings menu
Diffstat (limited to 'client/menu/settings_menu.gd')
-rw-r--r--client/menu/settings_menu.gd19
1 files changed, 19 insertions, 0 deletions
diff --git a/client/menu/settings_menu.gd b/client/menu/settings_menu.gd
new file mode 100644
index 00000000..a023cf36
--- /dev/null
+++ b/client/menu/settings_menu.gd
@@ -0,0 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License only.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+#
+extends Control
+
+func _on_back_pressed():
+ $SceneTransition.transition_to("res://menu/main_menu.tscn")