Paused could be flipped in the meantime between starting the background check and finishing it, we can check it again after having games to farm.
This commit is contained in:
Łukasz Domeradzki
2024-06-08 00:07:11 +02:00
parent 3ddb77e9f8
commit 37861e84c7

View File

@@ -352,7 +352,7 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
}
// This is the last moment for final check if we can farm
if (!Bot.IsPlayingPossible) {
if (Paused || !Bot.IsPlayingPossible) {
Bot.ArchiLogger.LogGenericInfo(Strings.PlayingNotAvailable);
return;
@@ -372,7 +372,7 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
return;
}
if (!Bot.IsPlayingPossible) {
if (Paused || !Bot.IsPlayingPossible) {
Bot.ArchiLogger.LogGenericInfo(Strings.PlayingNotAvailable);
return;