You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-18 08:06:33 +09:00
Mistakenly change from float to double in NetIncomingMessageType.ConnectionLatencyUpdated reverted
This commit is contained in:
@@ -141,7 +141,7 @@ namespace Lidgren.Network
|
|||||||
NetIncomingMessage update = m_peer.CreateIncomingMessage(NetIncomingMessageType.ConnectionLatencyUpdated, 4);
|
NetIncomingMessage update = m_peer.CreateIncomingMessage(NetIncomingMessageType.ConnectionLatencyUpdated, 4);
|
||||||
update.m_senderConnection = this;
|
update.m_senderConnection = this;
|
||||||
update.m_senderEndPoint = this.m_remoteEndPoint;
|
update.m_senderEndPoint = this.m_remoteEndPoint;
|
||||||
update.Write(rtt);
|
update.Write((float)rtt);
|
||||||
m_peer.ReleaseMessage(update);
|
m_peer.ReleaseMessage(update);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user