Optimize pipe net appearance updating. (#6469)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.NodeContainer;
|
||||
using Content.Server.NodeContainer.Nodes;
|
||||
using Content.Server.Power.EntitySystems;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Maths;
|
||||
@@ -70,12 +69,5 @@ namespace Content.Server.Power.Nodes
|
||||
yield return node;
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnPostRebuild()
|
||||
{
|
||||
base.OnPostRebuild();
|
||||
|
||||
EntitySystem.Get<CableVisSystem>().QueueUpdate(Owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user