NetworkConnection: removed last NetworkDetailStats call

This commit is contained in:
vis2k 2018-08-24 14:50:57 +02:00
parent 2169742ede
commit 745ef9409d

View File

@ -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
{