Skip to content

Commit

Permalink
Fixed a small bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilianavt committed Oct 15, 2020
1 parent 1325e13 commit 46e26f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unity/OpenSeeLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 46e26f5

Please sign in to comment.