diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-05 13:47:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 13:47:11 +0200 |
commit | 21e0a049f81eb0d34adaf45646b11569eeadec52 (patch) | |
tree | 735f6b234d0e3baa53b6d0fea1187dd3f06a2119 /src/defaultsettings.cpp | |
parent | d6cf5450a897b00e5ed0d053f14108c94dfb3701 (diff) | |
download | minetest-21e0a049f81eb0d34adaf45646b11569eeadec52.tar.gz minetest-21e0a049f81eb0d34adaf45646b11569eeadec52.tar.bz2 minetest-21e0a049f81eb0d34adaf45646b11569eeadec52.zip |
Save minetest screen width/height options when modified (#5683)
* Save minetest screen width/height options when modified
* Add autosave_screensize setting (default true)
* Fix @SmallJoker comments
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index d45e386cf..434c887e8 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -121,6 +121,7 @@ void set_default_settings(Settings *settings) settings->setDefault("viewing_range", "100"); settings->setDefault("screenW", "800"); settings->setDefault("screenH", "600"); + settings->setDefault("autosave_screensize", "true"); settings->setDefault("fullscreen", "false"); settings->setDefault("fullscreen_bpp", "24"); settings->setDefault("vsync", "false"); |