diff options
author | metamuffin <metamuffin@noreply.codeberg.org> | 2024-09-07 13:37:23 +0000 |
---|---|---|
committer | metamuffin <metamuffin@noreply.codeberg.org> | 2024-09-07 13:37:23 +0000 |
commit | 091f8ff9acf04cedf14765e9db5540c876fd7375 (patch) | |
tree | 4c115d6cb14df5d68bc72785f1020ed4ad2fb8e2 /client/server.gd | |
parent | af108805c8fd87a9d20a8df02072f224d2cd3417 (diff) | |
parent | 3ef379fb07df126ea09cb112801a0bef371f8811 (diff) | |
download | hurrycurry-091f8ff9acf04cedf14765e9db5540c876fd7375.tar hurrycurry-091f8ff9acf04cedf14765e9db5540c876fd7375.tar.bz2 hurrycurry-091f8ff9acf04cedf14765e9db5540c876fd7375.tar.zst |
Merge pull request 'Refactor settings system and localization' (#123) from new-settings into master
Reviewed-on: https://codeberg.org/hurrycurry/hurrycurry/pulls/123
Diffstat (limited to 'client/server.gd')
-rw-r--r-- | client/server.gd | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/client/server.gd b/client/server.gd index 3529e7e4..40d87672 100644 --- a/client/server.gd +++ b/client/server.gd @@ -85,18 +85,16 @@ func _server_exec(): sem.post() func get_server_path() -> String: - var path: String = Global.get_setting("server_binary") + var path: String = Global.get_setting("other.server_binary") if path != "": return path else: return "hurrycurry-server" func get_server_data(): - var path: String = Global.get_setting("server_data") - if path != "": - return path - else: - return null + var path: String = Global.get_setting("other.server_data") + if path != "": return path + else: return null func _process(_delta): match state: |