优化网络波动时ping不增加问题
This commit is contained in:
parent
0a3ab88e2f
commit
622ce9a4fd
@ -70,7 +70,7 @@ namespace RuntimeData
|
||||
|
||||
public void OnSendHeartbeat()
|
||||
{
|
||||
PingRecordTime = Time.time;
|
||||
if (PingRecordTime == 0) PingRecordTime = Time.time;
|
||||
}
|
||||
|
||||
public void OnReceiveHeartbeat()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user