mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Migrate existing keycode-based keybindings (#16049)
Co-authored-by: grorp <gregor.parzefall@posteo.de> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
600763dffc
commit
57c1ab905c
13 changed files with 140 additions and 13 deletions
|
@ -777,10 +777,13 @@ static bool read_config_file(const Settings &cmd_args)
|
|||
}
|
||||
|
||||
// If no path found, use the first one (menu creates the file)
|
||||
if (g_settings_path.empty())
|
||||
if (g_settings_path.empty()) {
|
||||
g_settings_path = filenames[0];
|
||||
g_first_run = true;
|
||||
}
|
||||
}
|
||||
infostream << "Global configuration file: " << g_settings_path << std::endl;
|
||||
infostream << "Global configuration file: " << g_settings_path
|
||||
<< (g_first_run ? " (first run)" : "") << std::endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue