mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 06:25:25 +08:00
Fix: Clear FLEET_2 by mistake when FLEET_2_CHOOSE not detected
This commit is contained in:
@@ -133,9 +133,11 @@ class FleetPreparation(ModuleBase):
|
|||||||
if submarine.in_use():
|
if submarine.in_use():
|
||||||
submarine.clear()
|
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.
|
# Not using fleet 2.
|
||||||
if not fleet_2.allow():
|
|
||||||
self.config.FLEET_2 = 0
|
|
||||||
if not self.config.FLEET_2:
|
if not self.config.FLEET_2:
|
||||||
if fleet_2.allow():
|
if fleet_2.allow():
|
||||||
if fleet_2.in_use():
|
if fleet_2.in_use():
|
||||||
|
|||||||
Reference in New Issue
Block a user