1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: cost_2 sort is not working when FLEET_2 is empty but having fleet 2 on map (#2643)

This commit is contained in:
LmeSzinc 2023-05-27 23:57:29 +08:00
parent 8ceb15dafc
commit 4d79738818

View File

@ -508,7 +508,7 @@ class Fleet(Camera, AmbushHandler):
if self.fleet_2_location:
self.map[self.fleet_2_location].is_fleet = True
location_dict = {}
if self.config.FLEET_2:
if self.fleet_2_location:
location_dict[2] = self.fleet_2_location
location_dict[1] = self.fleet_1_location
# Release fortress block