mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
fix: 关卡选择为剿灭时刷理智任务会尝试所有备选关卡 #6524
This commit is contained in:
@@ -1074,10 +1074,13 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
{
|
||||
foreach (var stage in new[] { Stage1, Stage2, Stage3 })
|
||||
{
|
||||
if (IsStageOpen(stage) && (stage != curStage))
|
||||
if (!IsStageOpen(stage) || (stage == curStage))
|
||||
{
|
||||
mainFightRet = Instances.AsstProxy.AsstAppendFight(stage, medicine, 0, int.MaxValue, string.Empty, 0);
|
||||
continue;
|
||||
}
|
||||
|
||||
mainFightRet = Instances.AsstProxy.AsstAppendFight(stage, medicine, 0, int.MaxValue, string.Empty, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user