summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-05-24 19:40:54 +0200
committerMichael Lutz <michi@icosahedron.de>2018-06-23 15:22:31 +0200
commit4fb76db42f886ff21a9f60fc89c786de79d79705 (patch)
treee98db0834c6797a1b87a43ccc14479917855c2c3 /src/table
parent11ba094582ae3eb8ed20f2f47938e18a827d6163 (diff)
downloadopenttd-4fb76db42f886ff21a9f60fc89c786de79d79705.tar.xz
Feature #986: Automatic save when losing connection to a network game
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 693c8246c..c061c394f 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -2987,6 +2987,12 @@ flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = false
cat = SC_BASIC
+[SDTC_BOOL]
+var = gui.autosave_on_network_disconnect
+flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
+def = true
+cat = SC_EXPERT
+
[SDTC_VAR]
var = gui.max_num_autosaves
type = SLE_UINT8