1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 12:08:21 +08:00

Fix: Redundant click of MAP_GOTO_GLOBE_FOG in os_map_goto_globe()

This commit is contained in:
LmeSzinc
2022-11-30 01:51:11 +08:00
parent b8d06b12e5
commit c29279420e

View File

@@ -293,6 +293,8 @@ class GlobeOperation(ActionPointHandler, MapEventHandler):
self.device.screenshot()
if self.appear_then_click(MAP_GOTO_GLOBE, offset=(200, 5), interval=5):
# Just to initialize interval timer of MAP_GOTO_GLOBE_FOG
self.appear(MAP_GOTO_GLOBE_FOG, offset=(5, 5), interval=5)
self.interval_reset(MAP_GOTO_GLOBE_FOG)
click_count += 1
if click_count >= 5: