mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: avoid to click unfinished weekly mission
This commit is contained in:
parent
c6330af523
commit
f1f6aae35b
@ -190,7 +190,8 @@ class Reward(RewardCommission, RewardTacticalClass, RewardResearch, RewardDorm,
|
||||
for button in [MISSION_MULTI, MISSION_SINGLE]:
|
||||
if not click_timer.reached():
|
||||
continue
|
||||
if self.appear_then_click(button, offset=(0, 200), interval=interval):
|
||||
if self.appear(button, offset=(0, 200), interval=interval) and button.match_appear_on(self.device.image):
|
||||
self.device.click(button)
|
||||
exit_timer.reset()
|
||||
click_timer.reset()
|
||||
timeout.reset()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user