Translator now properly falls back on bad server language (bug 4861, r=dvander).
This commit is contained in:
parent
b4a7d21b9e
commit
fefd84d431
@ -866,8 +866,10 @@ void Translator::RebuildLanguageDatabase(const char *lang_header_file)
|
||||
smcore.strncopy(m_InitialLang, "en", sizeof(m_InitialLang));
|
||||
m_ServerLang = SOURCEMOD_LANGUAGE_ENGLISH;
|
||||
}
|
||||
|
||||
m_ServerLang = *pServerLang;
|
||||
else
|
||||
{
|
||||
m_ServerLang = *pServerLang;
|
||||
}
|
||||
|
||||
if (!m_Languages.size())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user