You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
Bug in reliability fixed
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Lidgren.Network
|
||||
throw new NetException("Trying to encode NetMessageType " + m_type + " to unconnected endpoint!");
|
||||
|
||||
ushort seqNr;
|
||||
if (m_type >= NetMessageType.UserReliableUnordered)
|
||||
if (m_type < NetMessageType.UserReliableUnordered)
|
||||
seqNr = conn.GetSendSequenceNumber(m_type); // "disposable" sequence number
|
||||
else
|
||||
seqNr = conn.StoreReliableMessage(now, this);
|
||||
|
||||
Reference in New Issue
Block a user