mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkClient.Connect: use 0 as second parameter because the third one was actually the client id. The second one was the host id, which will likely be removed soon because it's left over from LLAPI.
This commit is contained in:
parent
9a143dac5b
commit
3d945666a8
@ -63,7 +63,7 @@ public void Connect(string ip)
|
||||
NetworkManager.singleton.transport.ClientConnect(ip);
|
||||
|
||||
// setup all the handlers
|
||||
connection = new NetworkConnection(serverIp, clientId, 0);
|
||||
connection = new NetworkConnection(serverIp, 0, 0);
|
||||
connection.SetHandlers(handlers);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user