Skip to content

Commit 84de2f5

Browse files
Update RpcTarget.cs
1 parent 89cfb3c commit 84de2f5

File tree

1 file changed

+1
-1
lines changed
  • com.unity.netcode.gameobjects/Runtime/Messaging/RpcTargets

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Messaging/RpcTargets/RpcTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public BaseRpcTarget Not<T>(T excludedClientIds, RpcTargetUse use) where T : IEn
585585
}
586586
target.Clear();
587587

588-
using var asASet = new NativeHashSet<ulong>(m_NetworkManager.ConnectedClientsIds.Count, Allocator.Temp);
588+
using var asASet = new NativeHashSet<ulong>(m_ConnectionManager.ConnectedClientIds.Count, Allocator.Temp);
589589
foreach (var clientId in excludedClientIds)
590590
{
591591
asASet.Add(clientId);

0 commit comments

Comments
 (0)