aboutsummaryrefslogtreecommitdiff
path: root/client/menu/game.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-07-07 18:52:49 +0200
committertpart <tpart120@proton.me>2024-07-07 18:52:54 +0200
commit44499c6e81dc5cc014f502cf6cb4db0c96081d7e (patch)
tree7cf07ee27ba517d7d4766677cc367bd1f9a16fbd /client/menu/game.gd
parenta72f4466c568dd7d7fe6f76a295fdd1162c1d312 (diff)
downloadhurrycurry-44499c6e81dc5cc014f502cf6cb4db0c96081d7e.tar
hurrycurry-44499c6e81dc5cc014f502cf6cb4db0c96081d7e.tar.bz2
hurrycurry-44499c6e81dc5cc014f502cf6cb4db0c96081d7e.tar.zst
Add lobby menu
Diffstat (limited to 'client/menu/game.gd')
-rw-r--r--client/menu/game.gd18
1 files changed, 17 insertions, 1 deletions
diff --git a/client/menu/game.gd b/client/menu/game.gd
index f2526645..c36fca86 100644
--- a/client/menu/game.gd
+++ b/client/menu/game.gd
@@ -1,3 +1,19 @@
+# Undercooked - a game about cooking
+# Copyright 2024 metamuffin
+# Copyright 2024 tpart
+#
+# 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 Menu
func _ready():
@@ -5,7 +21,7 @@ func _ready():
super()
func _input(_event):
- if Input.is_action_just_pressed("pause"):
+ if Input.is_action_just_pressed("ui_cancel"):
open_ingame_menu()
func open_ingame_menu():