You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 06:36:30 +09:00
tiny additions
This commit is contained in:
@@ -476,6 +476,7 @@ namespace Lidgren.Network
|
||||
if (m_senderConnection == null)
|
||||
throw new NetException("Cannot call ReadTime() on message without a connected sender (ie. unconnected messages)");
|
||||
|
||||
// lets bypass NetConnection.GetLocalTime for speed
|
||||
return remoteTime - m_senderConnection.m_remoteTimeOffset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user