mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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
This commit is contained in:
parent
6958071f49
commit
e8a8185d24
5 changed files with 29 additions and 9 deletions
|
@ -32,6 +32,7 @@ MapSettingsManager::MapSettingsManager(Settings *user_settings,
|
|||
m_user_settings(user_settings)
|
||||
{
|
||||
assert(m_user_settings != NULL);
|
||||
Mapgen::setDefaultSettings(m_map_settings);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue