mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix: 自动战斗保全作业地图存在性判断
This commit is contained in:
@@ -763,7 +763,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
}
|
||||
|
||||
// 不支持的关卡
|
||||
if (DataHelper.FindMap(copilot.StageName) is null)
|
||||
var stages = copilot.Stages?.Select(copilot => DataHelper.FindMap(copilot.StageName));
|
||||
if (stages?.Any(i => i is null) is null or true)
|
||||
{
|
||||
AddLog(LocalizationHelper.GetString("UnsupportedStages") + $" {copilot.StageName}", UiLogColor.Error, showTime: false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user