From 0e4ce13b9e4bb50f7591e5b683e35e8255108a95 Mon Sep 17 00:00:00 2001 From: Zebartin <1500012724@pku.edu.cn> Date: Tue, 20 Jun 2023 22:35:59 +0800 Subject: [PATCH] Fix: Reset counter after claiming --- tasks/assignment/claim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/assignment/claim.py b/tasks/assignment/claim.py index 14fb5c468..e70e39044 100644 --- a/tasks/assignment/claim.py +++ b/tasks/assignment/claim.py @@ -37,6 +37,7 @@ class AssignmentClaim(AssignmentDispatch): # Claim reward if self.appear(CLAIM, interval=2): self.device.click(CLAIM) + counter.reset() continue if self.appear(REDISPATCH): redispatched = should_redispatch and self._is_duration_expected(