Configure ACZ correctly with new engine API.

This commit is contained in:
Pieter-Jan Briers
2021-12-29 20:28:17 +01:00
parent a5dda8b609
commit 2da3cc299e

View File

@@ -21,6 +21,7 @@ using Content.Shared.Alert;
using Content.Shared.Kitchen;
using Robust.Server.Bql;
using Robust.Server.Player;
using Robust.Server.ServerStatus;
using Robust.Shared.ContentPack;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
@@ -39,6 +40,9 @@ namespace Content.Server.Entry
{
base.Init();
IoCManager.Resolve<IStatusHost>().SetAczInfo("Content.Client",
new[] { "Content.Client", "Content.Shared", "Content.Shared.Database" });
var factory = IoCManager.Resolve<IComponentFactory>();
factory.DoAutoRegistrations();