no need for extra variable

This commit is contained in:
vis2k 2019-02-26 09:02:37 +01:00
parent f1e3c6f8fd
commit 48e08bdd05

View File

@ -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);