diff options
Diffstat (limited to 'client/global.gd')
| -rw-r--r-- | client/global.gd | 9 | 
1 files changed, 7 insertions, 2 deletions
| diff --git a/client/global.gd b/client/global.gd index b9f35b6b..31a07ed34 100644 --- a/client/global.gd +++ b/client/global.gd @@ -27,7 +27,7 @@ extends Node  # (Optional: Only when type "dropdown") "options": An array which contains all  # 	possible values. -const DEFAULT_PROFILE := { +var default_profile := {  	"username": "Giovanni",  	"character": 0,  	"last_server_url": "" @@ -72,6 +72,11 @@ var default_settings := {  		"min": 0,  		"max": 32,  		"description": tr("3D grass amount per grass tile") +	}, +	"setup_complete": { +		"type": "toggle", +		"value": false, +		"description": tr("Initial setup complete. (Uncheck and restart to reenter)")  	}  } @@ -111,7 +116,7 @@ var error_message = ""  var fade_next := false # Set true when transitioning from another scene (fade in requried)  func _init(): -	profile = load_dict("user://profile", DEFAULT_PROFILE) +	profile = load_dict("user://profile", default_profile)  	settings = load_dict("user://settings", default_settings)  	print("DONE LOADING") | 
