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

perf: tasks

This commit is contained in:
RedDeadDepresso 2024-01-08 01:15:23 +00:00
parent 9334154201
commit 850eee7783

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