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

Opt: load offsets of auto search settings at fleet preparation stage (#3612)

This commit is contained in:
guoh064
2024-04-08 22:47:44 +08:00
committed by GitHub
parent 22618fe46c
commit b81818f030
2 changed files with 13 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ class AutoSearchHandler(EnemySearchingHandler):
active = []
for index, button in enumerate(AUTO_SEARCH_SETTINGS):
if self.image_color_count(button, color=(156, 255, 82), threshold=221, count=20):
if self.image_color_count(button.button, color=(156, 255, 82), threshold=221, count=20):
active.append(index)
if not active: