diff --git a/src/MaaCore/Ui/SupportList.cpp b/src/MaaCore/Ui/SupportList.cpp index ae8c75757b..11dfdae45c 100644 --- a/src/MaaCore/Ui/SupportList.cpp +++ b/src/MaaCore/Ui/SupportList.cpp @@ -125,9 +125,7 @@ bool asst::SupportList::select_support_unit(const size_t index) ctrler()->click(click_rect); sleep(Config.get_options().task_delay); - if (!ProcessTask(m_parent, { "SupportList-DetailPanel-Flag", "SupportList-DetailPanel-Flag@LoadingText" }) - .set_retry_times(20) - .run()) { + if (!ProcessTask(m_parent, { "SupportList-DetailPanel-Flag", "SupportList-DetailPanel-Flag@LoadingText" }).run()) { Log.error(__FUNCTION__, "| Support unit detail panel not recognised; failed to select support unit"); save_img(ctrler()->get_image(), "screenshot"); return false;