mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Setting update
This commit is contained in:
parent
079e8c1487
commit
73a460ddb6
7 changed files with 72 additions and 66 deletions
|
|
@ -84,7 +84,10 @@ Engine::Engine(EngineSettings& settings, EnginePaths* paths)
|
|||
}
|
||||
gui = std::make_unique<gui::GUI>();
|
||||
if (settings.ui.language == "auto") {
|
||||
settings.ui.language = langs::locale_by_envlocale(platform::detect_locale(), paths->getResources());
|
||||
settings.ui.language = langs::locale_by_envlocale(
|
||||
platform::detect_locale(),
|
||||
paths->getResources()
|
||||
);
|
||||
}
|
||||
if (ENGINE_VERSION_INDEV) {
|
||||
menus::create_version_label(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue