Fix pipe connection bug (#6753)
This commit is contained in:
@@ -52,12 +52,12 @@ namespace Content.Server.NodeContainer.Nodes
|
||||
return xform.Anchored;
|
||||
}
|
||||
|
||||
protected bool Anchored => !NeedAnchored || IoCManager.Resolve<IEntityManager>().GetComponent<TransformComponent>(Owner).Anchored;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("needAnchored")]
|
||||
public bool NeedAnchored { get; } = true;
|
||||
|
||||
public virtual void OnAnchorStateChanged(IEntityManager entityManager, bool anchored) { }
|
||||
|
||||
/// <summary>
|
||||
/// Prevents a node from being used by other nodes while midway through removal.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user