fix: SendToObservers missing result variable

This commit is contained in:
vis2k 2020-03-04 09:20:28 +01:00
parent 66d858e631
commit 9c09c26a5c

View File

@ -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);