mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
no need for extra variable
This commit is contained in:
parent
f1e3c6f8fd
commit
48e08bdd05
@ -55,8 +55,7 @@ public void Connect(string ip)
|
||||
|
||||
if (LogFilter.Debug) { Debug.Log("Client Connect: " + ip); }
|
||||
|
||||
string hostnameOrIp = ip;
|
||||
serverIp = hostnameOrIp;
|
||||
serverIp = ip;
|
||||
|
||||
connectState = ConnectState.Connecting;
|
||||
NetworkManager.singleton.transport.ClientConnect(ip);
|
||||
|
Loading…
Reference in New Issue
Block a user