mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 02:05:57 +08:00
Fix: Avoid potential duplicate STAGE_INCREASE inserting
This commit is contained in:
@@ -332,7 +332,8 @@ class FastForwardHandler(AutoSearchHandler):
|
|||||||
str: Name of next stage in upper case,
|
str: Name of next stage in upper case,
|
||||||
or origin name if unable to increase.
|
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:
|
if self.config.STAGE_INCREASE_AB:
|
||||||
stage_increase.insert(0, 'A1 > A2 > A3 > B1 > B2 > B3')
|
stage_increase.insert(0, 'A1 > A2 > A3 > B1 > B2 > B3')
|
||||||
name = to_map_input_name(name)
|
name = to_map_input_name(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user