1.1 --- a/core/Translator.cpp Thu Apr 05 11:02:22 2007 +0000
1.2 +++ b/core/Translator.cpp Sat Apr 07 03:58:20 2007 +0000
1.3 @@ -632,6 +632,14 @@
1.4 return ConfigResult_Ignore;
1.5 }
1.6
1.7 +void Translator::OnSourceModLevelChange(const char *mapName)
1.8 +{
1.9 + /* Refresh language stuff */
1.10 + char path[PLATFORM_MAX_PATH];
1.11 + g_SourceMod.BuildPath(Path_SM, path, sizeof(path), "configs/languages.cfg");
1.12 + RebuildLanguageDatabase(path);
1.13 +}
1.14 +
1.15 void Translator::OnSourceModAllInitialized()
1.16 {
1.17 AddLanguage("en", "English");