1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 04:58:22 +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,6 +32,7 @@ class Fleet(Camera, AmbushHandler):
@property @property
def fleet_2(self): def fleet_2(self):
if self.config.FLEET_2 and self.config.FLEET_BOSS == 2:
if self.fleet_current_index != 2: if self.fleet_current_index != 2:
self.fleet_switch() self.fleet_switch()
return self return self