'dynamic' namespace refactor + sensitivity is a NumberSetting now

This commit is contained in:
MihailRis
2024-03-31 17:30:02 +03:00
parent 398347bd81
commit 48982e3478
14 changed files with 168 additions and 140 deletions
+1 -1
View File
@@ -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;
}