1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 06:36:30 +09:00

Merge pull request #118 from nekoniaow/StatusFix

Fix: Connection.Connect() now correctly updates the Connection.Status…
This commit is contained in:
Michael Lidgren
2019-02-27 10:31:42 +01:00
committed by GitHub

View File

@@ -335,7 +335,7 @@ namespace Lidgren.Network
}
NetConnection conn = new NetConnection(this, remoteEndPoint);
conn.m_status = NetConnectionStatus.InitiatedConnect;
conn.SetStatus(NetConnectionStatus.InitiatedConnect, "user called connect");
conn.m_localHailMessage = hailMessage;
// handle on network thread