aboutsummaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd12
1 files changed, 9 insertions, 3 deletions
diff --git a/client/global.gd b/client/global.gd
index f26a066f..49b5f72e 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -28,9 +28,13 @@ var default_settings := {
"value": true,
"description": tr("Interpolate the camera rotation")
},
- "test": {
- "value": "hehe",
- "description": tr("Just a test value")
+ "server_binary": {
+ "value": "",
+ "description": tr("The path of the server binary (leave empty to search PATH)")
+ },
+ "server_data": {
+ "value": "",
+ "description": tr("The path of the server data directory (leave empty to auto-detect)")
},
}
@@ -68,6 +72,8 @@ func load_dict(path: String, default: Dictionary) -> Dictionary:
for i in default.keys():
if saved_dict.has(i):
res[i] = saved_dict[i]
+ else:
+ res[i] = default[i]
print("Loaded dict: ", res)
return res