Add localized zone loading (mp) (#421)

This commit is contained in:
Vlad 2022-12-22 03:20:32 +03:00 committed by GitHub
parent d75c361cc4
commit 69f1fef1ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,10 @@ namespace fastfiles
{
const auto language = game::SEH_GetCurrentLanguageCode();
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))