This commit is contained in:
JustArchi 2018-12-05 22:16:38 +01:00
parent f0a6907603
commit dd1f567d80

View file

@ -353,14 +353,8 @@ namespace ArchiSteamFarm {
}
}
if ((classIDsToGive.Count == 0) && (classIDsToReceive.Count == 0)) {
Bot.ArchiLogger.LogGenericTrace(string.Format(Strings.ErrorIsEmpty, nameof(classIDsToGive)));
if (++emptyMatches >= MaxMatchesBotsSoft) {
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.ActivelyMatchingItemsRound, skippedSetsThisRound.Count));
return skippedSetsThisRound.Count > 0;
}
if (skippedSetsThisUser.Count == 0) {
Bot.ArchiLogger.LogGenericTrace(string.Format(Strings.ErrorIsEmpty, nameof(skippedSetsThisUser)));
break;
}
@ -396,6 +390,10 @@ namespace ArchiSteamFarm {
triedSteamIDs[listedUser.SteamID] = byte.MaxValue;
}
if (++emptyMatches >= MaxMatchesBotsSoft) {
break;
}
continue;
}