mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-05 22:40:09 +08:00
Fix: Redundant click of MAP_GOTO_GLOBE_FOG in os_map_goto_globe()
This commit is contained in:
@@ -293,6 +293,8 @@ class GlobeOperation(ActionPointHandler, MapEventHandler):
|
|||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if self.appear_then_click(MAP_GOTO_GLOBE, offset=(200, 5), interval=5):
|
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)
|
self.interval_reset(MAP_GOTO_GLOBE_FOG)
|
||||||
click_count += 1
|
click_count += 1
|
||||||
if click_count >= 5:
|
if click_count >= 5:
|
||||||
|
|||||||
Reference in New Issue
Block a user