mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Double clicked MAP_PREPARATION_CANCEL
This commit is contained in:
@@ -229,13 +229,17 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(MAP_PREPARATION, offset=(20, 20)) or self.appear(FLEET_PREPARATION, offset=(20, 20)):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
|
||||
# End
|
||||
if self.is_in_stage():
|
||||
break
|
||||
|
||||
if self.appear(MAP_PREPARATION, offset=(20, 20), interval=2):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
if self.appear(FLEET_PREPARATION, offset=(20, 20), interval=2):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
|
||||
return True
|
||||
|
||||
def handle_map_preparation(self):
|
||||
|
||||
Reference in New Issue
Block a user