Fix: Reset counter after claiming

This commit is contained in:
Zebartin 2023-06-20 22:35:59 +08:00
parent cd97951394
commit 0e4ce13b9e

View File

@ -37,6 +37,7 @@ class AssignmentClaim(AssignmentDispatch):
# Claim reward # Claim reward
if self.appear(CLAIM, interval=2): if self.appear(CLAIM, interval=2):
self.device.click(CLAIM) self.device.click(CLAIM)
counter.reset()
continue continue
if self.appear(REDISPATCH): if self.appear(REDISPATCH):
redispatched = should_redispatch and self._is_duration_expected( redispatched = should_redispatch and self._is_duration_expected(