perf: 向战斗队列中添加SSS作业时追加错误输出

This commit is contained in:
status102
2025-08-22 13:36:38 +08:00
parent b58a0c7bde
commit d2ada336e5

View File

@@ -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 =>