fix: 修复自定义基建中,宿舍autofill不生效的问题

This commit is contained in:
MistEO
2022-09-21 00:26:52 +08:00
parent 9682f62679
commit 31e080e1d9

View File

@@ -53,9 +53,7 @@ bool asst::InfrastDormTask::_run()
if (is_use_custom_config()) {
swipe_and_select_custom_opers(true);
}
else {
opers_choose();
}
opers_choose();
click_confirm_button();
click_return_button();
@@ -69,7 +67,7 @@ bool asst::InfrastDormTask::_run()
bool asst::InfrastDormTask::opers_choose()
{
size_t num_of_selected = 0;
size_t num_of_selected = m_is_custom ? m_current_room_custom_config.selected : 0;
size_t num_of_fulltrust = 0;
while (num_of_selected < max_num_of_opers()) {