mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix: 修复加工站重复执行问题
返回 false 会导致重复执行 on_run_fails 四次,#11415
This commit is contained in:
@@ -11,7 +11,8 @@ bool asst::InfrastProcessingTask::_run()
|
||||
|
||||
// 不是自定义的也换不了加工站
|
||||
if (!is_use_custom_opers()) {
|
||||
return false;
|
||||
Log.info("skip this room");
|
||||
return true;
|
||||
}
|
||||
// 加工站,啥也造不了,随便写一个
|
||||
set_product("Placeholder");
|
||||
|
||||
Reference in New Issue
Block a user