aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-26 21:29:32 +0200
committertpart <tpart120@proton.me>2024-06-26 21:29:32 +0200
commitfd5521667f38532a51b69be2aee8b0480dea1337 (patch)
tree298280882372605dc7862ec1e56857a108ded3f7 /client/global.gd
parent542e9f44be4926a5b03756710b337daf410a3e2e (diff)
downloadhurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar
hurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar.bz2
hurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar.zst
Fix not fading in
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)