opt.游戏版本更新,基建设施进入时无需再额外滑动,优化掉滑动的逻辑

This commit is contained in:
MistEO
2021-12-28 16:19:20 +08:00
parent 500c81659c
commit 7d67ca1178
7 changed files with 70 additions and 75 deletions

View File

@@ -115,7 +115,6 @@ bool asst::InfrastProductionTask::shift_facility_list()
return false;
}
click_clear_button();
swipe_to_the_left_of_operlist(2);
if (m_all_available_opers.empty()) {
if (!opers_detect_with_swipe()) {
@@ -130,6 +129,7 @@ bool asst::InfrastProductionTask::shift_facility_list()
bool ret = opers_choose();
if (!ret) {
m_all_available_opers.clear();
swipe_to_the_left_of_operlist(2);
continue;
}
break;