Add localized zone loading (mp) (#421)
This commit is contained in:
parent
3940dfc43d
commit
1c52a7bb47
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user