diff options
author | Patric Stout <truebrain@openttd.org> | 2021-04-29 12:09:03 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-04-29 20:12:11 +0200 |
commit | be37a2cab831cb645ef0f51dbcc944bd750f6926 (patch) | |
tree | 17efb6066721db8ce4974cee192cbd8a8193821a /src/table | |
parent | 99f998805ba835f48a8061762fa19761760c7451 (diff) | |
download | openttd-be37a2cab831cb645ef0f51dbcc944bd750f6926.tar.xz |
Codechange: use NetworkAddress instead of two host/port variables where possible
This also means we no longer need last_host/last_port, but can
just use a single last_joined setting.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index 391a5b427..4e64bd032 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -4069,21 +4069,12 @@ def = false cat = SC_EXPERT [SDTC_STR] -var = network.last_host +var = network.last_joined type = SLE_STRB flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC def = """" cat = SC_EXPERT -[SDTC_VAR] -var = network.last_port -type = SLE_UINT16 -flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC -def = 0 -min = 0 -max = UINT16_MAX -cat = SC_EXPERT - [SDTC_BOOL] var = network.no_http_content_downloads flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC |