fix.修复基建allowExternal字段不生效及外部干员选择错误的问题

https://github.com/MistEO/MeoAssistantArknights/issues/288
This commit is contained in:
MistEO
2022-03-16 01:04:23 +08:00
parent fd5dc17b27
commit 4e8e8d3d13
2 changed files with 4 additions and 2 deletions

View File

@@ -197,6 +197,7 @@ bool asst::InfrastConfiger::parse(const json::value& json)
}
group.optional.emplace_back(std::move(comb));
}
group.allow_external = group_json.get("allowExternal", false);
group_vec.emplace_back(std::move(group));
}
m_skills_groups.emplace(facility_name, std::move(group_vec));