fix: 修复了会客室把可以挂上的线索送出的问题

This commit is contained in:
DavidWang19
2022-10-05 23:25:32 +01:00
parent 698407f013
commit 265a94735f
3 changed files with 26 additions and 6 deletions

View File

@@ -20,16 +20,19 @@ bool asst::InfrastReceptionTask::_run()
close_end_of_clue_exchange();
// 防止送线索把可以填入的送了
proc_clue_vacancy();
if (unlock_clue_exchange()) {
proc_clue_vacancy();
}
back_to_reception_main();
get_clue();
if (need_exit()) {
return false;
}
use_clue();
if (need_exit()) {
return false;
}
click_return_button();
click_bottom_left_tab();
back_to_reception_main();
if (need_exit()) {
return false;
}
@@ -133,6 +136,12 @@ bool asst::InfrastReceptionTask::unlock_clue_exchange()
return task.run();
}
bool asst::InfrastReceptionTask::back_to_reception_main()
{
ProcessTask task(*this, { "BackToReceptionMain" });
return task.run();
}
bool asst::InfrastReceptionTask::send_clue()
{
ProcessTask task(*this, { "SendClues" });
@@ -204,4 +213,4 @@ bool asst::InfrastReceptionTask::shift()
}
click_confirm_button();
return true;
}
}