NetworkServer: remove unnecessary check because hostId is set to 0 one line before that

This commit is contained in:
vis2k 2019-02-26 16:57:19 +01:00
parent d08b9c0272
commit 74b297819b

View File

@ -95,12 +95,6 @@ public static bool Listen(int maxConnections)
{
NetworkManager.singleton.transport.ServerStart();
serverHostId = 0; // so it doesn't return false
if (serverHostId == -1)
{
return false;
}
if (LogFilter.Debug) { Debug.Log("Server started listening"); }
}