mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Rename "opaque_water" setting to "translucent_liquids" with inverted meaning (#14660)
The old setting will be migrated properly. --------- Co-authored-by: grorp <gregor.parzefall@posteo.de>
This commit is contained in:
parent
bd4572cfd1
commit
a078cfee3e
6 changed files with 25 additions and 8 deletions
|
@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "filesys.h"
|
||||
#include "version.h"
|
||||
#include "defaultsettings.h"
|
||||
#include "migratesettings.h"
|
||||
#include "gettext.h"
|
||||
#include "log.h"
|
||||
#include "util/quicktune.h"
|
||||
|
@ -687,6 +688,8 @@ static bool init_common(const Settings &cmd_args, int argc, char *argv[])
|
|||
if (!read_config_file(cmd_args))
|
||||
return false;
|
||||
|
||||
migrate_settings();
|
||||
|
||||
init_log_streams(cmd_args);
|
||||
|
||||
// Initialize random seed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue