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

Refactor: Correct fleet_2 and fleet_boss uses

This commit is contained in:
LmeSzinc
2023-01-29 12:38:57 +08:00
parent 2472ccbdc2
commit 41ac19345b
36 changed files with 36 additions and 36 deletions

View File

@@ -508,7 +508,7 @@ class Map(Fleet):
Returns:
bool: if clear an enemy.
"""
if self.fleet_boss_index != 2:
if not self.config.FLEET_2:
return False
for grid in grids:
if self.fleet_at(grid=grid, fleet=2):