Sync with h2-mod’s b4d3ea9 (#333)

This commit is contained in:
Vlad 2022-10-17 22:57:39 +03:00 committed by GitHub
parent 95bf860a63
commit 1828f9cdac

View File

@ -152,10 +152,7 @@ namespace fastfiles
if (localized) if (localized)
{ {
const auto language = game::SEH_GetCurrentLanguageCode(); const auto language = game::SEH_GetCurrentLanguageCode();
if (!try_load_zone(language + "_"s + name, false) && language != "eng"s) try_load_zone(language + "_"s + name, false);
{
try_load_zone("eng_" + name, false);
}
} }
if (!fastfiles::exists(name)) if (!fastfiles::exists(name))