perf: tasks

This commit is contained in:
RedDeadDepresso
2024-01-15 17:45:32 +08:00
committed by YoursFunny
parent a1af2b0b74
commit 17ee226a5a
+1 -1
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