Don't remove invalid keys from unused

They're not used after all, even if they're invalid.
This commit is contained in:
JustArchi
2017-12-16 20:25:22 +01:00
parent c234868970
commit 469ee62dde

View File

@@ -3720,7 +3720,6 @@ namespace ArchiSteamFarm {
Bot currentBot = this;
while (!string.IsNullOrEmpty(key) && (currentBot != null)) {
if (redeemFlags.HasFlag(ERedeemFlags.Validate) && !IsValidCdKey(key)) {
unusedKeys.Remove(key); // This is not a valid key to begin with
key = keysEnumerator.MoveNext() ? keysEnumerator.Current : null; // Next key
continue; // Keep current bot
}