fix: add delay after selecting clue

This commit is contained in:
Constrat
2024-08-23 22:34:21 +02:00
parent 5470c313e2
commit f7d9856c85
2 changed files with 3 additions and 1 deletions

View File

@@ -3916,7 +3916,8 @@
"InfrastClue": {
"template": "Clue.png",
"maskRange": [1, 255],
"roi": [800, 0, 480, 720]
"roi": [800, 0, 480, 720],
"postDelay": 1000
},
"InfrastClueSelfMaybeFull": {
"Doc": "有一种情况是自己的线索满了但是却没有new的标记",

View File

@@ -128,6 +128,7 @@ bool asst::InfrastReceptionTask::proc_clue_vacancy()
}
sort_by_horizontal_(*clue_result_opt);
ctrler()->click(clue_result_opt->back().rect);
delay = Task.get("InfrastClue")->post_delay;
sleep(delay);
}
return true;