Inline UID
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Content.Server.DeviceNetwork.Systems
|
||||
|
||||
private void OnProviderConnected(EntityUid uid, ApcNetworkComponent component, ExtensionCableSystem.ProviderConnectedEvent args)
|
||||
{
|
||||
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent(args.Provider.Owner.Uid, out NodeContainerComponent? nodeContainer)) return;
|
||||
if (!IoCManager.Resolve<IEntityManager>().TryGetComponent(args.Provider.Owner, out NodeContainerComponent? nodeContainer)) return;
|
||||
|
||||
if (nodeContainer.TryGetNode("power", out CableNode? node))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user