Compare commits

...

1 Commits

Author SHA1 Message Date
Constrat
6d51abb24a fix: quick place clues unrelated to vacancy count 2026-04-17 13:28:41 +02:00

View File

@@ -184,7 +184,7 @@ bool asst::InfrastReceptionTask::proc_clue_vacancy()
int available = 0;
if (utils::chars_to_number(ocr_res->text, available)) {
Log.info("vacancy_cnt:", vacancy_cnt, ", available:", available);
if (available == vacancy_cnt) {
if (available > 0) {
Rect click_rect = confirm_task->roi.move(confirm_task->rect_move);
ctrler()->click(click_rect);
}