mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user