Update template to latest RobustToolbox version.

- Sets up ACZ.
This commit is contained in:
Vera Aguilera Puerto 2021-12-30 10:41:52 +01:00
parent 729c2a6206
commit b1f83f6a8b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,4 @@
using Robust.Server.ServerStatus;
using Robust.Shared.ContentPack;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
@ -12,6 +13,10 @@ public class EntryPoint : GameServer
{
base.Init();
// Configure ACZ correctly.
IoCManager.Resolve<IStatusHost>().SetAczInfo(
"Content.Client", new []{"Content.Client", "Content.Shared"});
var factory = IoCManager.Resolve<IComponentFactory>();
factory.DoAutoRegistrations();