Add localized zone loading (mp) (#421)

This commit is contained in:
Vlad 2022-12-22 03:20:32 +03:00 committed by GitHub
parent 3940dfc43d
commit 1c52a7bb47

View File

@ -167,6 +167,10 @@ namespace fastfiles
{ {
const auto language = game::SEH_GetCurrentLanguageCode(); const auto language = game::SEH_GetCurrentLanguageCode();
try_load_zone(language + "_"s + name, false); try_load_zone(language + "_"s + name, false);
if (game::environment::is_mp())
{
try_load_zone(language + "_"s + name + "_mp"s, false);
}
} }
if (!fastfiles::exists(name)) if (!fastfiles::exists(name))