diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index 773cd457f..bffd38f26 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -634,7 +634,7 @@ void GameList::ApplyCustomAttributes(const std::string& path, Entry* entry, if (custom_language_str.has_value()) { const std::optional custom_region = - GameDatabase::ParseLanguageName(custom_region_str.value()); + GameDatabase::ParseLanguageName(custom_language_str.value()); if (custom_region.has_value()) { entry->custom_language = custom_region.value();