mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
SendToReadyObservers: use explicit type
This commit is contained in:
parent
5ffdd06602
commit
940a467035
@ -414,7 +414,7 @@ public static void SendToReadyObservers<T>(NetworkIdentity identity, T message,
|
||||
ArraySegment<byte> segment = writer.ToArraySegment();
|
||||
|
||||
int count = 0;
|
||||
foreach (NetworkConnection conn in identity.observers.Values)
|
||||
foreach (NetworkConnectionToClient conn in identity.observers.Values)
|
||||
{
|
||||
bool isOwner = conn == identity.connectionToClient;
|
||||
if ((!isOwner || includeOwner) && conn.isReady)
|
||||
|
Loading…
Reference in New Issue
Block a user