1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00
This commit is contained in:
GH Action - Upstream Sync
2025-04-21 17:19:58 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -253,8 +253,12 @@ class OSMapOperation(MapOrderHandler, MissionHandler, PortHandler, StorageHandle
break
else:
confirm_timer.reset()
# If MAP_EXIT still appears, we haven't exit this zone yet
if self.appear(MAP_EXIT, offset=(20, 20)):
confirm_timer.reset()
if self.appear_then_click(MAP_EXIT, offset=(20, 20), interval=5):
# Click
if self.appear_then_click(MAP_EXIT, offset=(20, 20), interval=3):
continue
if self.handle_popup_confirm('MAP_EXIT'):
self.interval_reset(MAP_EXIT)