fix: 漏了.jpg

[skip changelog]
This commit is contained in:
status102
2025-06-06 13:01:59 +08:00
parent b4cdd15901
commit 532acde4c3
5 changed files with 16 additions and 5 deletions

View File

@@ -154,7 +154,14 @@ bool asst::BattleProcessTask::to_group()
}
for (const auto& [group_name, oper_name] : m_oper_in_group) {
auto& this_group = get_combat_data().groups[group_name];
const auto& group_it = ranges::find_if(get_combat_data().groups, [&](const OperUsageGroup& pair) {
return pair.first == group_name;
});
if (group_it == get_combat_data().groups.end()) {
Log.warn(__FUNCTION__, "Group not found in combat data: ", group_name);
continue;
}
const auto& this_group = group_it->second;
// there is a build error on macOS
// https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/3779762713/jobs/6425284487
const std::string& oper_name_for_lambda = oper_name;