From e8a8185d24897ccf964327017effae81aa1c9d40 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Mon, 17 Feb 2020 19:26:32 +0100 Subject: 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/map_settings_manager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map_settings_manager.cpp') diff --git a/src/map_settings_manager.cpp b/src/map_settings_manager.cpp index a0ff1c754..7ef4bf12e 100644 --- a/src/map_settings_manager.cpp +++ b/src/map_settings_manager.cpp @@ -32,6 +32,7 @@ MapSettingsManager::MapSettingsManager(Settings *user_settings, m_user_settings(user_settings) { assert(m_user_settings != NULL); + Mapgen::setDefaultSettings(m_map_settings); } -- cgit v1.2.3