ok saving pipes now works (#4906)

* ok saving pipes now works

* EW HACKS
This commit is contained in:
moonheart08
2021-10-16 15:40:21 -05:00
committed by GitHub
parent 23b0b0d76a
commit f69575e15a
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ using Content.Server.NodeContainer.EntitySystems;
using Content.Server.NodeContainer.NodeGroups;
using Content.Shared.Atmos;
using Robust.Server.GameObjects;
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
@@ -104,6 +103,8 @@ namespace Content.Server.NodeContainer.Nodes
public override void OnContainerStartup()
{
base.OnContainerStartup();
//HACK: THIS LINE RIGHT HERE IS A FILTHY HACK AND I HATE IT --moony
PipeDirection = PipeDirection.RotatePipeDirection(Owner.Transform.LocalRotation);
OnConnectedDirectionsNeedsUpdating();
}