From 469ee62dde7f1dfc992a22120a0082d9fb5e8a5f Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 16 Dec 2017 20:25:22 +0100 Subject: [PATCH] Don't remove invalid keys from unused They're not used after all, even if they're invalid. --- ArchiSteamFarm/Bot.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index c35c47832..e381d3162 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -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 }