Skip to content

Commit

Permalink
fix: Report correct channel to profiler in SendToObservers
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Mar 15, 2020
1 parent ff445e6 commit 0b84d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirror/Runtime/NetworkServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ internal static void ActivateHostScene()
NetworkConnectionToClient.Send(connectionIdsCache, segment, channelId);
}

NetworkDiagnostics.OnSend(msg, Channels.DefaultReliable, segment.Count, identity.observers.Count);
NetworkDiagnostics.OnSend(msg, channelId, segment.Count, identity.observers.Count);
}
}
}
Expand Down

0 comments on commit 0b84d4c

Please sign in to comment.