mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: SendToObservers missing result variable
This commit is contained in:
parent
66d858e631
commit
9c09c26a5c
@ -247,7 +247,7 @@ static void SendToObservers<T>(NetworkIdentity identity, T msg, int channelId =
|
||||
// send to all internet connections at once
|
||||
if (connectionIdsCache.Count > 0)
|
||||
{
|
||||
result &= NetworkConnectionToClient.Send(connectionIdsCache, segment, channelId);
|
||||
NetworkConnectionToClient.Send(connectionIdsCache, segment, channelId);
|
||||
}
|
||||
|
||||
NetworkDiagnostics.OnSend(msg, Channels.DefaultReliable, segment.Count, identity.observers.Count);
|
||||
|
Loading…
Reference in New Issue
Block a user