1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

Fix: Handle random OCR error in action points

This commit is contained in:
LmeSzinc
2023-01-13 21:22:28 +08:00
parent 54e27d7c91
commit c5b1d75009
2 changed files with 4 additions and 0 deletions

View File

@@ -145,6 +145,9 @@ class ActionPointHandler(UI, MapEventHandler):
self.action_point_update()
# Having too many current AP, probably an OCR error
if self._action_point_current > 600:
continue
# Having boxes
if sum(self._action_point_box[1:]) > 0:
break