mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Opt: call logger.warning() when retrying fleet switch
This commit is contained in:
parent
3349e14000
commit
390235f53c
@ -34,6 +34,7 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
||||
self.device.screenshot()
|
||||
if not FLEET_NUM.match(self.device.image, offset=(0, 0), threshold=0.9):
|
||||
break
|
||||
logger.warning('Fleet switch failed. Retrying.')
|
||||
return True
|
||||
|
||||
def enter_map(self, button, mode='normal'):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user