aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-26 21:27:40 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-26 21:27:40 +0200
commite38a2ee78910edcec4425c07903e36fb5749ae3b (patch)
tree963b24ec9d73d98b46c1fff1bb6d10d043dc6285 /client/global.gd
parent18e9409739ceefef970dd509709a1f7b0c1c15e4 (diff)
parentcbe0201f67eaa751434786e23da3311761f5e776 (diff)
downloadhurrycurry-e38a2ee78910edcec4425c07903e36fb5749ae3b.tar
hurrycurry-e38a2ee78910edcec4425c07903e36fb5749ae3b.tar.bz2
hurrycurry-e38a2ee78910edcec4425c07903e36fb5749ae3b.tar.zst
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/global.gd b/client/global.gd
index 6e12d0cf..ee1e3e96 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -40,6 +40,8 @@ var settings: Dictionary
var server_url = ""
var error_message = ""
+var fade_next := false # Set true when transitioning from another scene (fade in requried)
+
func _ready():
profile = load_dict("user://profile", DEFAULT_PROFILE)
settings = load_dict("user://settings", default_settings)