summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2020-12-13 16:28:06 +0100
committerGitHub <noreply@github.com>2020-12-13 16:28:06 +0100
commitc66bd18a1087d4b34d79faf68afb9ff8fea89be4 (patch)
tree8a6127387ff47514e586867238bfb3156140786a /src/fileio.cpp
parent40edc2863ccec78eac80ee2918188f1e1d605ce0 (diff)
downloadopenttd-c66bd18a1087d4b34d79faf68afb9ff8fea89be4.tar.xz
Add: save openttd.cfg immediately on changing a setting (#8358)
Formally it was only done on exit. This means that if it crashes changes in settings were not stored. This is often rather frustrating. Additionally, targets (like emscripten) where people are unlike to use "Exit Game", will never see their configuration stored. The drawback is that on every setting change there is some minor I/O of writing the ini file to disk again.
Diffstat (limited to 'src/fileio.cpp')
0 files changed, 0 insertions, 0 deletions