fix: 加工站不设置干员时,直接报错并返回

https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/6400
This commit is contained in:
MistEO
2023-09-22 21:12:09 +08:00
parent 6dd00b5efa
commit 2e419a3f28

View File

@@ -10,7 +10,7 @@ bool asst::InfrastProcessingTask::_run()
m_all_available_opers.clear();
// 不是自定义的也换不了加工站
if (!m_is_custom) {
if (!is_use_custom_opers()) {
return false;
}
// 加工站,啥也造不了,随便写一个