diff --git a/RageCoop.Server/Networking/Server.Background.cs b/RageCoop.Server/Networking/Server.Background.cs index e5fcacc..77e7d90 100644 --- a/RageCoop.Server/Networking/Server.Background.cs +++ b/RageCoop.Server/Networking/Server.Background.cs @@ -81,7 +81,7 @@ namespace RageCoop.Server } if (!CanAnnounce) { - var existing = JsonConvert.DeserializeObject>(HttpHelper.DownloadString(Util.GetFinalRedirect(Settings.MasterServer))).Where(x => x.address == IpInfo.Address).FirstOrDefault(); + var existing = JsonConvert.DeserializeObject>(HttpHelper.DownloadString(Util.GetFinalRedirect(Settings.MasterServer))).Where(x => x.address == IpInfo.Address && x.port == Settings.Port.ToString()).FirstOrDefault(); if(existing != null) { Logger.Warning("Server info already present in master server, waiting for 10 seconds...");