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

Fix: fleet1_all_fleet2_standby compatibles with self.fleet_2 calls from old map files

This commit is contained in:
LmeSzinc
2021-10-18 21:48:55 +08:00
parent 4710a00028
commit 1835f7493e

View File

@@ -32,8 +32,9 @@ class Fleet(Camera, AmbushHandler):
@property
def fleet_2(self):
if self.fleet_current_index != 2:
self.fleet_switch()
if self.config.FLEET_2 and self.config.FLEET_BOSS == 2:
if self.fleet_current_index != 2:
self.fleet_switch()
return self
@fleet_2.setter