Dev: Save tracking image on each waypoint

This commit is contained in:
LmeSzinc 2024-05-14 02:35:39 +08:00
parent c15e12226c
commit caf3af9973

View File

@ -133,6 +133,7 @@ class MapControl(Combat, AimDetectorMixin):
""" """
logger.hr('Goto', level=2) logger.hr('Goto', level=2)
logger.info(f'Goto {waypoint}') logger.info(f'Goto {waypoint}')
self.screenshot_tracking_add()
self.waypoint = waypoint self.waypoint = waypoint
self.device.stuck_record_clear() self.device.stuck_record_clear()
self.device.click_record_clear() self.device.click_record_clear()
@ -353,7 +354,6 @@ class MapControl(Combat, AimDetectorMixin):
list[str]: A list of walk result list[str]: A list of walk result
""" """
logger.hr('Goto', level=1) logger.hr('Goto', level=1)
self.screenshot_tracking_add()
self.map_A_timer.clear() self.map_A_timer.clear()
self.map_E_timer.clear() self.map_E_timer.clear()
self.map_run_2x_timer.clear() self.map_run_2x_timer.clear()