mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkConnection: removed last NetworkDetailStats call
This commit is contained in:
parent
2169742ede
commit
745ef9409d
@ -241,19 +241,6 @@ protected void HandleBytes(byte[] buffer)
|
||||
msgDelegate(msg);
|
||||
}
|
||||
lastMessageTime = Time.time;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
UnityEditor.NetworkDetailStats.IncrementStat(
|
||||
UnityEditor.NetworkDetailStats.NetworkDirection.Incoming,
|
||||
(short)MsgType.HLAPIMsg, "msg", 1);
|
||||
|
||||
if (msgType > (short)MsgType.Highest)
|
||||
{
|
||||
UnityEditor.NetworkDetailStats.IncrementStat(
|
||||
UnityEditor.NetworkDetailStats.NetworkDirection.Incoming,
|
||||
(short)MsgType.UserMessage, msgType.ToString() + ":" + msgType.GetType().Name, 1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user