This commit is contained in:
Kara
2022-10-21 01:54:18 -07:00
committed by GitHub
parent 8a4142cceb
commit 169ba3106b
3 changed files with 5 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Dispenser; using Content.Shared.Chemistry.Dispenser;
using Content.Shared.Gravity; using Content.Shared.Gravity;
using Content.Shared.Lathe; using Content.Shared.Lathe;
using Content.Shared.Localizations;
using Content.Shared.Markers; using Content.Shared.Markers;
using Robust.Client; using Robust.Client;
using Robust.Client.Graphics; using Robust.Client.Graphics;
@@ -70,6 +71,7 @@ namespace Content.Client.Entry
[Dependency] private readonly GhostKickManager _ghostKick = default!; [Dependency] private readonly GhostKickManager _ghostKick = default!;
[Dependency] private readonly ExtendedDisconnectInformationManager _extendedDisconnectInformation = default!; [Dependency] private readonly ExtendedDisconnectInformationManager _extendedDisconnectInformation = default!;
[Dependency] private readonly PlayTimeTrackingManager _playTimeTracking = default!; [Dependency] private readonly PlayTimeTrackingManager _playTimeTracking = default!;
[Dependency] private readonly ContentLocalizationManager _contentLoc = default!;
public const int NetBufferSizeOverride = 2; public const int NetBufferSizeOverride = 2;
@@ -91,6 +93,7 @@ namespace Content.Client.Entry
IoCManager.Resolve<IConfigurationManager>().OverrideDefault(CVars.NetBufferSize, NetBufferSizeOverride); IoCManager.Resolve<IConfigurationManager>().OverrideDefault(CVars.NetBufferSize, NetBufferSizeOverride);
#endif #endif
_contentLoc.Initialize();
_componentFactory.DoAutoRegistrations(); _componentFactory.DoAutoRegistrations();
_componentFactory.IgnoreMissingComponents(); _componentFactory.IgnoreMissingComponents();

View File

@@ -30,6 +30,7 @@ using Robust.Shared.Prototypes;
using Robust.Shared.Timing; using Robust.Shared.Timing;
using Robust.Shared.Utility; using Robust.Shared.Utility;
using Content.Server.Station.Systems; using Content.Server.Station.Systems;
using Content.Shared.Localizations;
namespace Content.Server.Entry namespace Content.Server.Entry
{ {
@@ -86,6 +87,7 @@ namespace Content.Server.Entry
logManager.GetSawmill("Storage").Level = LogLevel.Info; logManager.GetSawmill("Storage").Level = LogLevel.Info;
logManager.GetSawmill("db.ef").Level = LogLevel.Info; logManager.GetSawmill("db.ef").Level = LogLevel.Info;
IoCManager.Resolve<ContentLocalizationManager>().Initialize();
IoCManager.Resolve<IAdminLogManager>().Initialize(); IoCManager.Resolve<IAdminLogManager>().Initialize();
IoCManager.Resolve<IConnectionManager>().Initialize(); IoCManager.Resolve<IConnectionManager>().Initialize();
IoCManager.Resolve<IServerDbManager>().Init(); IoCManager.Resolve<IServerDbManager>().Init();

View File

@@ -32,7 +32,6 @@ namespace Content.Shared.Entry
base.PostInit(); base.PostInit();
InitTileDefinitions(); InitTileDefinitions();
IoCManager.Resolve<ContentLocalizationManager>().Initialize();
IoCManager.Resolve<MarkingManager>().Initialize(); IoCManager.Resolve<MarkingManager>().Initialize();
var configMan = IoCManager.Resolve<IConfigurationManager>(); var configMan = IoCManager.Resolve<IConfigurationManager>();