mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
perf: 向战斗队列中添加SSS作业时追加错误输出
This commit is contained in:
@@ -1011,6 +1011,10 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
{
|
||||
await AddCopilotTaskToList(copilot, !isRaid ? CopilotModel.DifficultyFlags.Normal : CopilotModel.DifficultyFlags.Raid, stageName, CopilotId);
|
||||
}
|
||||
else
|
||||
{
|
||||
AddLog(LocalizationHelper.GetString("CopilotSSSNotSupport"), UiLogColor.Error, showTime: false);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -1386,7 +1390,8 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
|
||||
if (CopilotItemViewModels.Count == 1)
|
||||
{
|
||||
AddLog(LocalizationHelper.GetString("CopilotSingleTaskWarning"), UiLogColor.Warning, showTime: false);
|
||||
AddLog(LocalizationHelper.GetString("CopilotSingleTaskWarning"), UiLogColor.Error, showTime: false);
|
||||
return false;
|
||||
}
|
||||
|
||||
var stageNames = list.Select(i => i.FilePath).ToHashSet().Select(async path =>
|
||||
|
||||
Reference in New Issue
Block a user