This commit is contained in:
JustArchi
2020-01-05 03:40:08 +01:00
parent 7078644b7d
commit da1171c5ef

View File

@@ -46,12 +46,10 @@ namespace ArchiSteamFarm.SteamKit2 {
HashSet<ServerRecordEndPoint> newServerRecords = endpoints.Select(ep => new ServerRecordEndPoint(ep.GetHost(), (ushort) ep.GetPort(), ep.ProtocolTypes)).ToHashSet();
if (!ServerRecords.ReplaceIfNeededWith(newServerRecords)) {
return Task.CompletedTask;
if (ServerRecords.ReplaceIfNeededWith(newServerRecords)) {
ServerListUpdated?.Invoke(this, EventArgs.Empty);
}
ServerListUpdated?.Invoke(this, EventArgs.Empty);
return Task.CompletedTask;
}