mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Don't remove invalid keys from unused
They're not used after all, even if they're invalid.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user