mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: Report correct channel to profiler in SendToObservers
This commit is contained in:
parent
ff445e630c
commit
0b84d4c5e1
@ -250,7 +250,7 @@ static void SendToObservers<T>(NetworkIdentity identity, T msg, int channelId =
|
||||
NetworkConnectionToClient.Send(connectionIdsCache, segment, channelId);
|
||||
}
|
||||
|
||||
NetworkDiagnostics.OnSend(msg, Channels.DefaultReliable, segment.Count, identity.observers.Count);
|
||||
NetworkDiagnostics.OnSend(msg, channelId, segment.Count, identity.observers.Count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user