Skip to content

Commit 3872aad

Browse files
committed
Misc
1 parent dd96174 commit 3872aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArchiSteamFarm/Steam/Cards/CardsFarmer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ private async Task<bool> IsPlayableGame(Game game) {
13871387
}
13881388

13891389
private static async Task<(bool Success, FrozenSet<uint>? Result)> ResolveMarketableAppIDs(CancellationToken cancellationToken) {
1390-
Bot? bot = Bot.Bots?.Values.FirstOrDefault(static targetBot => targetBot.IsConnectedAndLoggedOn);
1390+
Bot? bot = Bot.Bots?.Values.FirstOrDefault(static targetBot => targetBot.IsConnectedAndLoggedOn && !string.IsNullOrEmpty(targetBot.AccessToken));
13911391

13921392
if (bot == null) {
13931393
return (false, null);

0 commit comments

Comments
 (0)