[Localization] Don't restrict str loading to zonebuilder

This commit is contained in:
momo5502 2016-11-19 21:22:03 +01:00
parent b7b7292bd4
commit e8b95226a6

View File

@ -133,13 +133,13 @@ namespace Components
DWORD Localization::SELoadLanguageStub()
{
if (ZoneBuilder::IsEnabled())
//if (ZoneBuilder::IsEnabled())
{
if (FileSystem::File(fmt::sprintf("localizedstrings/iw4x_%s.str", Game::Win_GetLanguage())).Exists())
{
Game::SE_Load(Utils::String::VA("localizedstrings/iw4x_%s.str", Game::Win_GetLanguage()), 0);
}
else
else if (FileSystem::File("localizedstrings/iw4x_english.str").Exists())
{
Game::SE_Load("localizedstrings/iw4x_english.str", 0);
}