mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
完成从任意界面到制造站的ProcessTask
This commit is contained in:
@@ -140,7 +140,7 @@ std::shared_ptr<TaskInfo> ProcessTask::match_image(Rect* matched_rect)
|
||||
// 逐个匹配当前可能的任务
|
||||
for (const std::string& task_name : m_cur_tasks_name) {
|
||||
std::shared_ptr<TaskInfo> task_info_ptr = Configer::get_instance().m_all_tasks_info[task_name];
|
||||
if (task_info_ptr == nullptr) {
|
||||
if (task_info_ptr == nullptr) { // 说明配置文件里没这个任务
|
||||
m_callback(AsstMsg::PtrIsNull, json::value(), m_callback_arg);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user