summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index e1d9dfd22..878b9ad81 100644
--- a/settings.c
+++ b/settings.c
@@ -761,7 +761,7 @@ static const SettingDesc misc_settings[] = {
static const SettingDesc network_settings[] = {
{"sync_freq", SDT_UINT16 | SDT_NOSAVE, (void*)100, &_network_sync_freq, NULL},
{"frame_freq", SDT_UINT8 | SDT_NOSAVE, (void*)0, &_network_frame_freq, NULL},
- {"max_join_time", SDT_UINT, (void*)500, &_network_max_join_time, NULL},
+ {"max_join_time", SDT_UINT16, (void*)500, &_network_max_join_time, NULL},
{"pause_on_join", SDT_BOOL, (void*)false, &_network_pause_on_join, NULL},
{"server_bind_ip", SDT_STRINGBUF | (lengthof(_network_server_bind_ip_host) << 16), "0.0.0.0", &_network_server_bind_ip_host, NULL},
{"server_port", SDT_UINT, (void*)NETWORK_DEFAULT_PORT, &_network_server_port, NULL},