1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Fix: Clear FLEET_2 by mistake when FLEET_2_CHOOSE not detected

This commit is contained in:
LmeSzinc
2020-06-27 02:07:04 +08:00
parent 838135270f
commit a461d1aee8

View File

@@ -133,9 +133,11 @@ class FleetPreparation(ModuleBase):
if submarine.in_use():
submarine.clear()
# No need, this may clear FLEET_2 by mistake, clear FLEET_2 in map config.
# if not fleet_2.allow():
# self.config.FLEET_2 = 0
# Not using fleet 2.
if not fleet_2.allow():
self.config.FLEET_2 = 0
if not self.config.FLEET_2:
if fleet_2.allow():
if fleet_2.in_use():