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

Fix: refresh current zone first if OpsiMeoTargetZone!=0 (#4121)

This commit is contained in:
Air111
2024-08-30 18:45:21 +08:00
committed by GitHub
parent 0f6a781c7e
commit 78c59bb490

View File

@@ -380,14 +380,13 @@ class OperationSiren(OSMap):
raise RequestHumanTakeover('wrong input, task stopped')
else:
logger.hr(f'OS meowfficer farming, zone_id={zone.zone_id}', level=1)
self.globe_goto(zone)
self.globe_goto(zone, refresh=True)
self.fleet_set(self.config.OpsiFleet_Fleet)
self.os_order_execute(
recon_scan=False,
submarine_call=self.config.OpsiFleet_Submarine)
self.run_auto_search()
if not self.handle_after_auto_search():
self.globe_goto(self.zone_nearest_azur_port(zone=zone))
self.handle_after_auto_search()
self.config.check_task_switch()
else:
zones = self.zone_select(hazard_level=self.config.OpsiMeowfficerFarming_HazardLevel) \