1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 15:35:12 +00:00

perf: tasks

This commit is contained in:
RedDeadDepresso 2024-01-08 01:15:23 +00:00 committed by YoursFunny
parent a1af2b0b74
commit 17ee226a5a
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -23,7 +23,7 @@ class Task(UI):
self.device.click(CLAIM)
logger.info("Click Claim")
continue
if (self.match_color(CLAIMED) or self.match_color(COMPLETE)) and self.match_color(CLAIMED_ALL):
if self.match_color(CLAIMED_ALL) and not self.match_color(CLAIM):
logger.info("All claimed")
break