summaryrefslogtreecommitdiff
path: root/src/settings_translation_file.cpp
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2016-07-27 18:41:16 +0200
committerest31 <MTest31@outlook.com>2016-08-20 15:48:47 +0200
commitba501273094b0c6c77404610f2dee81c031d0074 (patch)
tree57ee8a2c2288557e0221927214a430758d3c547b /src/settings_translation_file.cpp
parenta4962240bdf7ddc221c477ada1c2a99c1aee3e2e (diff)
downloadminetest-ba501273094b0c6c77404610f2dee81c031d0074.tar.gz
minetest-ba501273094b0c6c77404610f2dee81c031d0074.tar.bz2
minetest-ba501273094b0c6c77404610f2dee81c031d0074.zip
Move generation from settingtypes out of dlg_settings_advanced
Avoids unreachable code linter warning by moving generation code (of minetest.conf.example and settings_translation_file.cpp) out of dlg_settings_advanced. Due to passing the settings, also it avoids reading the settings file twice. Instead of activating the code by changing the active if-clauses, its activation is now done by uncommenting the loadfile() statement.
Diffstat (limited to 'src/settings_translation_file.cpp')
0 files changed, 0 insertions, 0 deletions