Fix: unexpected_confirm has no effect if arrive waypoint at the every first screenshot

This commit is contained in:
LmeSzinc 2024-05-20 15:24:00 +08:00
parent 3d5258b591
commit 272f803d8c

View File

@ -135,6 +135,7 @@ class MapControl(Combat, AimDetectorMixin):
logger.info(f'Goto {waypoint}') logger.info(f'Goto {waypoint}')
self.screenshot_tracking_add() self.screenshot_tracking_add()
self.waypoint = waypoint self.waypoint = waypoint
waypoint.unexpected_confirm.reset()
self.device.stuck_record_clear() self.device.stuck_record_clear()
self.device.click_record_clear() self.device.click_record_clear()