mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 22:05:12 +00:00
perf: tasks
This commit is contained in:
parent
a1af2b0b74
commit
17ee226a5a
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user