1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 06:57:21 +08:00

Fix: Wait too long in interrupt_auto_search (#1889)

This commit is contained in:
SarContDeli
2022-11-21 23:11:57 +08:00
committed by GitHub
parent 6cd62430c6
commit f4abcb4740

View File

@@ -477,8 +477,7 @@ class OSMap(OSFleet, Map, GlobeCamera):
while 1: while 1:
self.device.screenshot() self.device.screenshot()
if self.appear(AUTO_SEARCH_REWARD, offset=(50, 50), interval=3): if self.appear_then_click(AUTO_SEARCH_REWARD, offset=(50, 50), interval=3):
self.os_auto_search_quit()
continue continue
if self.appear_then_click(PAUSE, interval=0.5): if self.appear_then_click(PAUSE, interval=0.5):
continue continue