fix: Wiki now displays the proper names and descriptions for chemistry recipes and the rest instead of the localization keys. (#12359)

This commit is contained in:
Francesco
2022-11-02 21:38:56 +01:00
committed by GitHub
parent f4e70d8727
commit e2ac0f5322

View File

@@ -75,6 +75,7 @@ namespace Content.Server.Entry
factory.GenerateNetIds();
var configManager = IoCManager.Resolve<IConfigurationManager>();
var dest = configManager.GetCVar(CCVars.DestinationFile);
IoCManager.Resolve<ContentLocalizationManager>().Initialize();
if (string.IsNullOrEmpty(dest)) //hacky but it keeps load times for the generator down.
{
_euiManager = IoCManager.Resolve<EuiManager>();
@@ -87,7 +88,6 @@ namespace Content.Server.Entry
logManager.GetSawmill("Storage").Level = LogLevel.Info;
logManager.GetSawmill("db.ef").Level = LogLevel.Info;
IoCManager.Resolve<ContentLocalizationManager>().Initialize();
IoCManager.Resolve<IAdminLogManager>().Initialize();
IoCManager.Resolve<IConnectionManager>().Initialize();
IoCManager.Resolve<IServerDbManager>().Init();