Skip to content

Commit

Permalink
fix:'NavigationSolver' object has no attribute 'act' (#633)
Browse files Browse the repository at this point in the history
* fix:'NavigationSolver' object has no attribute 'act'

* fix:NavigationSolver has no attribute "act"
  • Loading branch information
EightyDollars authored Jul 9, 2024
1 parent de48df7 commit 15d2735
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arknights_mower/solvers/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class NavigationSolver(SceneGraphSolver):
def run(self, name: str):
logger.info("Start: 关卡导航")
self.success = False
self.act=None

hot_update.update()
if name in hot_update.navigation.NavigationSolver.location:
Expand Down Expand Up @@ -165,7 +166,7 @@ def run(self, name: str):
else:
logger.error(f"暂不支持{name}")
return False

super().run()
return self.success

Expand Down

0 comments on commit 15d2735

Please sign in to comment.