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 4e6a66c0f9
commit 33ebc72bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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