mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Reset counter after claiming
This commit is contained in:
parent
cd97951394
commit
0e4ce13b9e
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user