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

@ -1 +1 @@
Subproject commit e3dc446e9ea75d6802686397cf19023bd4433e64 Subproject commit 75d37f83096e968b3f69d79843d606cc0ec655a4