mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
perf: 自动编队跳过空干员职业组
This commit is contained in:
@@ -70,6 +70,9 @@ bool asst::BattleFormationTask::_run()
|
||||
formation_with_last_opers();
|
||||
std::vector<OperGroup> missing_operators;
|
||||
for (auto& [role, oper_groups] : m_formation) {
|
||||
if(oper_groups.empty()) {
|
||||
continue; // 干员已编入, 跳过
|
||||
}
|
||||
add_formation(role, oper_groups, missing_operators);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user