You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
Fixed maximum handshake attempts one-off error
Fixed better disconnect messages when not yet fully connected (aborting connection attempt)
This commit is contained in:
@@ -338,7 +338,12 @@ namespace Lidgren.Network
|
||||
public int MaximumHandshakeAttempts
|
||||
{
|
||||
get { return m_maximumHandshakeAttempts; }
|
||||
set { m_maximumHandshakeAttempts = value; }
|
||||
set
|
||||
{
|
||||
if (value < 1)
|
||||
throw new NetException("MaximumHandshakeAttempts must be at least 1");
|
||||
m_maximumHandshakeAttempts = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user