1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 14:46:29 +09:00

Mistakenly change from float to double in NetIncomingMessageType.ConnectionLatencyUpdated reverted

This commit is contained in:
lidgren
2015-01-18 17:15:20 +00:00
parent 999e113d65
commit a09ed9b585

View File

@@ -141,7 +141,7 @@ namespace Lidgren.Network
NetIncomingMessage update = m_peer.CreateIncomingMessage(NetIncomingMessageType.ConnectionLatencyUpdated, 4);
update.m_senderConnection = this;
update.m_senderEndPoint = this.m_remoteEndPoint;
update.Write(rtt);
update.Write((float)rtt);
m_peer.ReleaseMessage(update);
}
}