mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 20:58:19 +08:00
Fix: incorrect asset reference
This commit is contained in:
@@ -206,7 +206,7 @@ class FastForwardHandler(AutoSearchHandler):
|
|||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if clicked_timeout.reached():
|
if clicked_timeout.reached():
|
||||||
enabled = self.image_color_count(BOOK_ENABLE_BOX, color=(156, 255, 82), threshold=221, count=20)
|
enabled = self.image_color_count(button, color=(156, 255, 82), threshold=221, count=20)
|
||||||
if ((status == 'on' and not enabled) or (status == 'off' and enabled)) \
|
if ((status == 'on' and not enabled) or (status == 'off' and enabled)) \
|
||||||
and clicked_threshold > 0:
|
and clicked_threshold > 0:
|
||||||
self.device.click(button)
|
self.device.click(button)
|
||||||
|
|||||||
Reference in New Issue
Block a user