summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-27 21:10:11 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-13 23:13:17 +0200
commitcc6c078dec3792173b5d2057667bec9597c71d90 (patch)
tree3634a76f302f1dbae914679fe7097da7df6b9e5c /src/table
parentc73d64adf984036a99d6974b130eda65dfc18c6c (diff)
downloadopenttd-cc6c078dec3792173b5d2057667bec9597c71d90.tar.xz
Codechange: move hostnames in settings to std::string
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index e8fa4560b..6dbff01db 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -3970,9 +3970,10 @@ def = nullptr
proc = UpdateClientConfigValues
cat = SC_BASIC
-[SDTC_STR]
+[SDTC_SSTR]
var = network.connect_to_ip
-type = SLE_STRB
+type = SLE_STR
+length = 0
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = nullptr
@@ -4075,9 +4076,10 @@ guiflags = SGF_NETWORK_ONLY
def = false
cat = SC_EXPERT
-[SDTC_STR]
+[SDTC_SSTR]
var = network.last_joined
-type = SLE_STRB
+type = SLE_STR
+length = 0
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = """"
cat = SC_EXPERT