Settings: Fix game minetest.conf flags overriding defaults (#9404)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Mon, 17 Feb 2020 18:26:32 +0000 (19:26 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Feb 2020 18:26:32 +0000 (19:26 +0100)
commite8a8185d24897ccf964327017effae81aa1c9d40
tree0aec3d4406a7bcf1bea0fb9b32e3ac9dd8be5f78
parent6958071f497c8f059429343339ad3818ed3cfed1
Settings: Fix game minetest.conf flags overriding defaults (#9404)

The game minetest.conf flags directly overwrote the global minetest.conf default values, resulting in unwanted erased mapgen flags.

* Fix set_mapgen_setting
src/content/subgames.cpp
src/defaultsettings.cpp
src/map_settings_manager.cpp
src/settings.cpp
src/settings.h