mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Fix: Missing screenshot before checking SHIP_CONFIRM in old retire
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user