mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Fix: Retry _retirement_choose() if no ship selected
This commit is contained in:
@@ -217,6 +217,9 @@ class Retirement(Enhancement):
|
||||
total += selected
|
||||
if selected == 0:
|
||||
break
|
||||
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
|
||||
|
||||
self._retirement_confirm()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user