Skip to content

Commit

Permalink
fix: 修正动作返回值
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 31, 2024
1 parent 84ae86b commit b30782e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/MaaFramework/Task/Component/Actuator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ bool Actuator::run(const cv::Rect& reco_hit, MaaRecoId reco_id, const PipelineDa
case Type::StopTask:
LogInfo << "Action: StopTask";
context_.need_to_stop() = true;
ret = true;
break;
default:
ret = false;
Expand Down

0 comments on commit b30782e

Please sign in to comment.