summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-08-10 20:03:13 +0200
committerGitHub <noreply@github.com>2021-08-10 20:03:13 +0200
commit4c1ea4020d797e2ddb086cc73109eb8c51cbbbdb (patch)
treebc8b65fe81b89f8d73e3dcd27ad458fcc0f35ffd /src/table
parent8a083cd7f81d8223f08c30d5bcb2d9c38e7556a4 (diff)
downloadopenttd-4c1ea4020d797e2ddb086cc73109eb8c51cbbbdb.tar.xz
Change: remove the ability to control "max spectators" (#9466)
Soon we will make "join game" join the game as spectator first, so limiting the amount of spectators makes no sense anymore in that context. Not sure it ever did make sense.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings/network_settings.ini10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/table/settings/network_settings.ini b/src/table/settings/network_settings.ini
index 86f8aafc8..50e769c7f 100644
--- a/src/table/settings/network_settings.ini
+++ b/src/table/settings/network_settings.ini
@@ -225,16 +225,6 @@ post_cb = [](auto) { UpdateClientConfigValues(); }
cat = SC_BASIC
[SDTC_VAR]
-var = network.max_spectators
-type = SLE_UINT8
-flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
-def = 15
-min = 0
-max = MAX_CLIENTS
-post_cb = [](auto) { UpdateClientConfigValues(); }
-cat = SC_BASIC
-
-[SDTC_VAR]
var = network.restart_game_year
type = SLE_INT32
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_0_IS_SPECIAL | SF_NETWORK_ONLY