mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServer: remove unnecessary check because hostId is set to 0 one line before that
This commit is contained in:
parent
d08b9c0272
commit
74b297819b
@ -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"); }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user