Skip to content

Commit

Permalink
Merge pull request #371 from EightyDollars/dev_shawn
Browse files Browse the repository at this point in the history
fix:副手简报返回按钮识别失败
  • Loading branch information
ZhaoZuohong authored Nov 5, 2023
2 parents cfd05b0 + bfb02b9 commit ce72182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2457,7 +2457,7 @@ def skland_plan_solover(self):
def recruit_plan_solver(self):
if ('last_execution' not in self.recruit_config
or self.recruit_config['last_execution'] is None
or self.recruit_config['last_execution'] <= (datetime.now() - datetime.timedelta(hours=9))):
or self.recruit_config['last_execution'] <= (datetime.now() - timedelta(hours=9))):
recruit([], self.send_message_config, self.recruit_config)
self.recruit_config['last_execution'] = datetime.now()

Expand Down
3 changes: 2 additions & 1 deletion arknights_mower/utils/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ def back_to_index(self):
if self.get_navigation():
self.tap_element('nav_index')
elif self.scene() == Scene.RIIC_REPORT:
self.tap_element('riic_return')
#self.tap_element('riic_return')
self.tap((130, 60))
elif self.scene() == Scene.CLOSE_MINE:
self.tap_element('close_mine')
elif self.scene() == Scene.CHECK_IN:
Expand Down

0 comments on commit ce72182

Please sign in to comment.