This commit is contained in:
ultrablob 2024-04-17 19:14:46 -04:00
parent adf6fb5d17
commit ea112e91a1
15 changed files with 8 additions and 1395 deletions

View file

@ -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) or (has_config and config.get_value("config", "username").unicode_at(0) < 100_000)
$"../Play".disabled = not has_config
if has_config:
$Menu/Username.text = config.get_value("config", "username")
$Menu/Controls.selected = 0 if config.get_value("config", "relative_controls") else 1