Content update for NetEntities (#18935)

This commit is contained in:
metalgearsloth
2023-09-11 09:42:41 +10:00
committed by GitHub
parent 389c8d1a2c
commit 5a0fc68be2
526 changed files with 3058 additions and 2215 deletions

View File

@@ -409,7 +409,7 @@ namespace Content.Server.NodeContainer.EntitySystems
RaiseNetworkEvent(msg, player.ConnectedClient);
}
private static NodeVis.GroupData VisMakeGroupState(BaseNodeGroup group)
private NodeVis.GroupData VisMakeGroupState(BaseNodeGroup group)
{
return new()
{
@@ -421,7 +421,7 @@ namespace Content.Server.NodeContainer.EntitySystems
Name = n.Name,
NetId = n.NetId,
Reachable = n.ReachableNodes.Select(r => r.NetId).ToArray(),
Entity = n.Owner,
Entity = GetNetEntity(n.Owner),
Type = n.GetType().Name
}).ToArray(),
DebugData = group.GetDebugData()