summaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-06-07 21:11:14 +0200
committermetamuffin <metamuffin@disroot.org>2025-06-07 21:11:14 +0200
commit742f87a08fe87de778f006d90bc128b735f4494d (patch)
treee178941c23e747d264a41fa26505d82a0752cbe3 /client/global.gd
parentd28b35355c854b37adfbe7ee0410b98a3c18512b (diff)
downloadhurrycurry-742f87a08fe87de778f006d90bc128b735f4494d.tar
hurrycurry-742f87a08fe87de778f006d90bc128b735f4494d.tar.bz2
hurrycurry-742f87a08fe87de778f006d90bc128b735f4494d.tar.zst
support opening setup menu from settings
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd
index 4c147198..f9682cbf 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -25,7 +25,7 @@ signal using_touch_change(using: bool)
const VERSION := "2.3.1"
var default_profile := {
- "username": "Giovanni",
+ "username": "",
"character_style": {
"color": 0,
"headwear": 0,
@@ -64,6 +64,7 @@ var current_map_name := ""
var last_map_name := "" # last map name for displaying in rating menu
var focused_node: Control
+var focused_menu: Menu # only use this as a last resort, currently exists to open setup menu from settings
func _ready():
profile = load_dict("user://profile", default_profile)