Revert "fix: 助战干员进入详情页后flag检测retry"

This reverts commit 9401d3c4dd.
This commit is contained in:
status102
2025-12-11 22:22:45 +08:00
parent 9401d3c4dd
commit dd5b41d3db

View File

@@ -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;