diff --git a/core/logic/Translator.cpp b/core/logic/Translator.cpp index 3eee14d4..a3270bf9 100644 --- a/core/logic/Translator.cpp +++ b/core/logic/Translator.cpp @@ -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()) {