fix: 修复宿舍填充干员时不经过检测盲点首位干员的问题 (#12234)

This commit is contained in:
Weiyou Wang
2025-04-04 14:01:12 +11:00
committed by GitHub
parent 61e4dd3cf3
commit df422c8718

View File

@@ -129,8 +129,11 @@ bool asst::InfrastDormTask::opers_choose(asst::infrast::CustomRoomConfig const&
if (m_next_step == NextStep::Fill) {
to_fill = true;
Log.info("set to_fill = true;");
ctrler()->click(oper.rect);
++num_of_selected;
if (oper.doing != infrast::Doing::Working && !oper.selected) {
Log.info("to fill");
ctrler()->click(oper.rect);
++num_of_selected;
}
continue;
}
// 如果所有心情不满的干员已经放入宿舍,就把信赖不满的干员放入宿舍