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

Fix: Avoid potential duplicate STAGE_INCREASE inserting

This commit is contained in:
LmeSzinc
2025-02-28 00:26:28 +08:00
parent 86ce8f8c47
commit f79781250c

View File

@@ -332,7 +332,8 @@ class FastForwardHandler(AutoSearchHandler):
str: Name of next stage in upper case,
or origin name if unable to increase.
"""
stage_increase = self.STAGE_INCREASE
# Copy STAGE_INCREASE to avoid potential duplicate inserting
stage_increase = [r for r in self.STAGE_INCREASE]
if self.config.STAGE_INCREASE_AB:
stage_increase.insert(0, 'A1 > A2 > A3 > B1 > B2 > B3')
name = to_map_input_name(name)