Skip to content

Commit

Permalink
减少进错房间等待次数会卡好几秒
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Feb 1, 2025
1 parent ff89225 commit 910bdbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arknights_mower/solvers/base_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ def adjust_room(self, _room):
def enter_room(self, room):
"""从基建首页进入房间"""

for enter_times in range(3):
for retry_times in range(10):
for enter_times in range(2):
for retry_times in range(2):
if pos := self.find("control_central"):
_room = segment.base(self.recog.img, pos)[room]
self.tap(self.adjust_room(_room))
Expand Down

0 comments on commit 910bdbf

Please sign in to comment.