mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-02-10 16:24:49 -05:00
Update template to latest RobustToolbox version.
- Sets up ACZ.
This commit is contained in:
parent
729c2a6206
commit
b1f83f6a8b
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue