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
Merge pull request #118 from nekoniaow/StatusFix
Fix: Connection.Connect() now correctly updates the Connection.Status…
This commit is contained in:
@@ -335,7 +335,7 @@ namespace Lidgren.Network
|
|||||||
}
|
}
|
||||||
|
|
||||||
NetConnection conn = new NetConnection(this, remoteEndPoint);
|
NetConnection conn = new NetConnection(this, remoteEndPoint);
|
||||||
conn.m_status = NetConnectionStatus.InitiatedConnect;
|
conn.SetStatus(NetConnectionStatus.InitiatedConnect, "user called connect");
|
||||||
conn.m_localHailMessage = hailMessage;
|
conn.m_localHailMessage = hailMessage;
|
||||||
|
|
||||||
// handle on network thread
|
// handle on network thread
|
||||||
|
|||||||
Reference in New Issue
Block a user