Revert "fix: 截图速度过快时可能卡在公招放弃界面"

This reverts commit 3c9f0930a0.
This commit is contained in:
status102
2024-08-18 20:31:44 +08:00
parent 63453023b4
commit 320be4e83d

View File

@@ -243,9 +243,8 @@ bool asst::AutoRecruitTask::_run()
// m_cur_times means how many times has the confirm button been pressed, NOT expedited plans
// used
while (m_cur_times != m_max_times) {
// 招募结束后有一瞬间还是原来的界面,有可能会点到放弃招募然后卡死
sleep(500);
if (auto start_rect = try_get_start_button(ctrler()->get_image())) {
auto start_rect = try_get_start_button(ctrler()->get_image());
if (start_rect) {
if (need_exit()) {
return false;
}