Skip to content

Commit

Permalink
修复关模拟器和关游戏弄反的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Oct 5, 2023
1 parent 667b3e0 commit f4efb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arknights_mower/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@ def simulate():
logger.info(f"第{base_scheduler.task_count}次任务结束")
if sleep_time > 300:
if conf["close_simulator_when_idle"]:
base_scheduler.device.exit(base_scheduler.package_name)
elif conf["exit_game_when_idle"]:
restart_simulator(conf["simulator"], start=False)
elif conf["exit_game_when_idle"]:
base_scheduler.device.exit(base_scheduler.package_name)
body = task_template.render(
tasks=[
obj.format(timezone_offset) for obj in base_scheduler.tasks
Expand Down

0 comments on commit f4efb5e

Please sign in to comment.