From 46e26f59f6203bb748c8eb1155889fb6b9d1a1cb Mon Sep 17 00:00:00 2001 From: Emiliana <38952746+emilianavt@users.noreply.github.com> Date: Thu, 15 Oct 2020 17:58:35 +0200 Subject: [PATCH] Fixed a small bug. --- Unity/OpenSeeLauncher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unity/OpenSeeLauncher.cs b/Unity/OpenSeeLauncher.cs index 0c48760..b607227 100644 --- a/Unity/OpenSeeLauncher.cs +++ b/Unity/OpenSeeLauncher.cs @@ -306,7 +306,7 @@ public bool StartTracker() { if (inUse[i].Port < port) continue; if (inUse[i].Port == port) { - if (port <= openSeeTarget.listenPort + 500 && port <= inUse[i].MaxPort) { + if (port <= openSeeTarget.listenPort + 500 && port <= IPEndPoint.MaxPort) { port++; continue; } else {