1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-21 20:29:29 +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()