mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Fix: scanning tower skip should only operate in cl1 zones. (#2609)
* Fix: scanning tower skip should only operate in cl1 zones. * Fix: Change condition to is_in_task_cl1_leveling
This commit is contained in:
@@ -758,8 +758,8 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler):
|
||||
if 'is_scanning_device' not in self._solved_map_event and grids and grids[0].is_scanning_device:
|
||||
grid = grids[0]
|
||||
logger.info(f'Found scanning device on {grid}')
|
||||
if self.is_cl1_enabled:
|
||||
logger.info('CL1 leveling enabled, mark scanning device as solved')
|
||||
if self.is_in_task_cl1_leveling:
|
||||
logger.info('In CL1 leveling, mark scanning device as solved')
|
||||
self._solved_map_event.add('is_scanning_device')
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user