mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
feat: 按照review修改
This commit is contained in:
@@ -384,7 +384,7 @@ bool asst::BattleProcessTask::check_in_battle(const cv::Mat& reusable, bool weak
|
||||
{
|
||||
LogTraceFunction;
|
||||
|
||||
cv::Mat image = reusable;
|
||||
cv::Mat image = reusable.empty() ? ctrler()->get_image() : reusable;
|
||||
|
||||
if (weak) {
|
||||
BattlefieldMatcher analyzer(image);
|
||||
|
||||
Reference in New Issue
Block a user