mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
'dynamic' namespace refactor + sensitivity is a NumberSetting now
This commit is contained in:
parent
398347bd81
commit
48982e3478
14 changed files with 168 additions and 140 deletions
|
|
@ -78,7 +78,7 @@ void langs::loadLocalesInfo(const fs::path& resdir, std::string& fallback) {
|
|||
|
||||
std::string name;
|
||||
if (langInfo->type == dynamic::valtype::map) {
|
||||
name = langInfo->value.map->getStr("name", "none");
|
||||
name = std::get<dynamic::Map*>(langInfo->value)->getStr("name", "none");
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue