mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: PrivateQuarters check asset may appear for an instant before character dialogue thereby exiting loop too early; this will help mitigate it
This commit is contained in:
parent
31ffd657c0
commit
ae8a209be7
@ -165,11 +165,12 @@ class PQInteract(UI):
|
||||
self.device.screenshot()
|
||||
|
||||
# End
|
||||
if self.appear(PRIVATE_QUARTERS_ROOM_CHECK, offset=(20, 20)):
|
||||
if self.appear(PRIVATE_QUARTERS_ROOM_CHECK, offset=(20, 20), interval=1):
|
||||
break
|
||||
|
||||
# Continue without clicking, mitigate too many click exception
|
||||
if self.appear(PRIVATE_QUARTERS_LOADING_CHECK, offset=(20, 20)):
|
||||
self.interval_reset(PRIVATE_QUARTERS_ROOM_CHECK)
|
||||
continue
|
||||
|
||||
if click_timer.reached():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user