mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 02:05:35 +08:00
Fix: Handle NPC popup in _ship_view_swipe (#3678)
This commit is contained in:
@@ -40,6 +40,9 @@ class Equipment(StorageHandler):
|
|||||||
if self.appear(RETIRE_EQUIP_CONFIRM, offset=(30, 30)):
|
if self.appear(RETIRE_EQUIP_CONFIRM, offset=(30, 30)):
|
||||||
logger.info('RETIRE_EQUIP_CONFIRM popup in _ship_view_swipe()')
|
logger.info('RETIRE_EQUIP_CONFIRM popup in _ship_view_swipe()')
|
||||||
return False
|
return False
|
||||||
|
# Popup when enhancing a NPC ship
|
||||||
|
if self.handle_popup_confirm('SHIP_VIEW_SWIPE'):
|
||||||
|
continue
|
||||||
swipe_count += 1
|
swipe_count += 1
|
||||||
|
|
||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|||||||
Reference in New Issue
Block a user