From adf6fb5d17d926237553de49471e804d1e352859 Mon Sep 17 00:00:00 2001 From: ultrablob Date: Wed, 17 Apr 2024 18:41:01 -0400 Subject: [PATCH] Added main menu real --- Settings.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Settings.gd b/Settings.gd index 46a83a4..6b8e449 100644 --- a/Settings.gd +++ b/Settings.gd @@ -5,7 +5,7 @@ var config = ConfigFile.new() func _ready(): var has_config = config.load("user://settings.cfg") == OK print(has_config) - $"../Play".disabled = not has_config + $"../Play".disabled = (not has_config) or (has_config and config.get_value("config", "username").unicode_at(0) < 100_000) if has_config: $Menu/Username.text = config.get_value("config", "username") $Menu/Controls.selected = 0 if config.get_value("config", "relative_controls") else 1