Nullable grid Uid (#8798)

This commit is contained in:
Leon Friedrich
2022-06-20 12:14:35 +12:00
committed by GitHub
parent ef41cd5aa8
commit fa4c6f63f8
82 changed files with 318 additions and 242 deletions

View File

@@ -24,9 +24,9 @@ namespace Content.Server.NodeContainer.NodeGroups
public EntityUid Grid => GridId;
public override void Initialize(Node sourceNode)
public override void Initialize(Node sourceNode, IEntityManager? entMan = null)
{
base.Initialize(sourceNode);
base.Initialize(sourceNode, entMan);
_atmosphereSystem = EntitySystem.Get<AtmosphereSystem>();
_atmosphereSystem.AddPipeNet(this);