mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
fix: 修复自定义基建中,宿舍autofill不生效的问题
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user