mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Missing screenshot before checking SHIP_CONFIRM in old retire
This commit is contained in:
parent
48bfad1d8b
commit
7171d45fe3
@ -217,6 +217,7 @@ class Retirement(Enhancement):
|
||||
total += selected
|
||||
if selected == 0:
|
||||
break
|
||||
self.device.screenshot()
|
||||
if not (self.appear(SHIP_CONFIRM, offset=(30, 30)) and SHIP_CONFIRM.match_appear_on(self.device.image)):
|
||||
logger.warning('No ship selected, retrying')
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user