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

Fix: Typo on IDLE.match_luma

This commit is contained in:
LmeSzinc
2024-05-23 02:15:19 +08:00
parent f724c0bfa0
commit d20886131e

View File

@@ -536,7 +536,7 @@ class UI(InfoHandler):
# Idle page
if self.get_interval_timer(IDLE, interval=3).reached():
if IDLE.match_binary(self.device.image, offset=(5, 5)):
if IDLE.match_luma(self.device.image, offset=(5, 5)):
logger.info(f'UI additional: {IDLE} -> {REWARD_GOTO_MAIN}')
self.device.click(REWARD_GOTO_MAIN)
self.get_interval_timer(IDLE).reset()