Misc edge case

This commit is contained in:
JustArchi
2020-06-21 01:05:54 +02:00
parent dabf391576
commit 313d353ae5

View File

@@ -675,7 +675,7 @@ namespace ArchiSteamFarm {
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.ActivelyMatchingItemsRound, skippedSetsThisRound.Count));
// Keep matching when we either traded something this round (so it makes sense for a refresh) or if we didn't try all available bots yet (so it makes sense to keep going)
return (skippedSetsThisRound.Count > 0) || triedSteamIDs.Values.All(data => data.Tries < 2);
return (totalMatches > 0) && ((skippedSetsThisRound.Count > 0) || triedSteamIDs.Values.All(data => data.Tries < 2));
}
[SuppressMessage("ReSharper", "ClassCannotBeInstantiated")]