mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: 自动编队干员选择错误
This commit is contained in:
@@ -163,7 +163,7 @@ void asst::BattleFormationTask::formation_with_last_opers()
|
||||
++it;
|
||||
continue;
|
||||
}
|
||||
if (ranges::find_if(opers, [&](const OperGroup& g) { return g.first == it->first; }) != opers.cend()) {
|
||||
if (ranges::find_if(opers, [&](const OperGroup& g) { return g.first == it->first; }) == opers.cend()) {
|
||||
it = groups.erase(it);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user