diff options
| author | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:21:52 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:21:52 +0200 |
| commit | 82408a6d478ed9f7009482c69f1f4d69025c833d (patch) | |
| tree | 2d27c799917c2d44417882fd04cfff37e25cd18b /client/global.gd | |
| parent | 4fa692dae19789e5e766c50ac31874653d02971a (diff) | |
| parent | 86eaa98918760ed829f23a70f15604bf751549be (diff) | |
| download | hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar.bz2 hurrycurry-82408a6d478ed9f7009482c69f1f4d69025c833d.tar.zst | |
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/global.gd')
| -rw-r--r-- | client/global.gd | 12 |
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 |