Piping Unit test fixes (#3471)

* PipeNetDevice on piping prototypes

* client component ignore

* NodeContainer OnRemove bugfix

* Moves some NodeContainer code from OnRemove to Shutdown

* yaml indentation fix
This commit is contained in:
collinlunn
2021-03-02 11:58:19 -07:00
committed by GitHub
parent 91cea56a5a
commit 06f549d282
12 changed files with 25 additions and 12 deletions

View File

@@ -60,13 +60,14 @@ namespace Content.Server.GameObjects.Components.NodeContainer
}
}
public override void OnRemove()
protected override void Shutdown()
{
base.Shutdown();
foreach (var node in _nodes)
{
node.OnContainerRemove();
node.OnContainerShutdown();
}
base.OnRemove();
}
private void AnchorUpdate()