Skip to content

Commit

Permalink
停止mower重新运行时重置plan
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Jul 26, 2024
1 parent eaad62c commit 1350148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arknights_mower/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

base_scheduler = None
conf = config.conf
plan = config.plan
operators = config.operators


Expand Down Expand Up @@ -51,6 +50,7 @@ def initialize(tasks, scheduler=None):
base_scheduler = BaseSchedulerSolver()
base_scheduler.operators = {}
plan1 = {}
plan = config.plan
plan_config = PlanConfig(
plan["conf"]["rest_in_full"],
plan["conf"]["exhaust_require"],
Expand Down

0 comments on commit 1350148

Please sign in to comment.