1.1 --- a/core/sourcemod.cpp Sat Feb 17 17:35:09 2007 +0000
1.2 +++ b/core/sourcemod.cpp Sat Feb 17 19:03:18 2007 +0000
1.3 @@ -24,6 +24,7 @@
1.4 #include "AdminCache.h"
1.5 #include "sm_stringutil.h"
1.6 #include "CPlayerManager.h"
1.7 +#include "CTranslator.h"
1.8
1.9 SH_DECL_HOOK6(IServerGameDLL, LevelInit, SH_NOATTRIB, false, bool, const char *, const char *, const char *, const char *, bool, bool);
1.10 SH_DECL_HOOK0_void(IServerGameDLL, LevelShutdown, SH_NOATTRIB, false);
1.11 @@ -190,6 +191,11 @@
1.12
1.13 g_Logger.MapChange(pMapName);
1.14
1.15 + /* Refresh language stuff */
1.16 + char path[PLATFORM_MAX_PATH];
1.17 + BuildPath(Path_SM, path, sizeof(path), "configs/languages.cfg");
1.18 + g_Translator.RebuildLanguageDatabase(path);
1.19 +
1.20 DoGlobalPluginLoads();
1.21
1.22 m_IsMapLoading = false;