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

Fix: Recheck AP boxes when having OCR error

This commit is contained in:
LmeSzinc
2023-04-13 18:35:41 +08:00
parent ebb6afd903
commit 9560913ef1

View File

@@ -164,7 +164,8 @@ class ActionPointHandler(UI, MapEventHandler):
if sum(self._action_point_box[1:]) > 0:
break
# Or having oil
if self._action_point_box[0] > 0:
# Might be 0 or 1 when page is not fully loaded
if self._action_point_box[0] > 100:
break
@staticmethod