feat: 根据review将check_skip_plot_button移动到BattleProcess里面

This commit is contained in:
Lancarus
2023-10-07 02:14:45 +08:00
parent 6d85d57c74
commit 206a7042e2
3 changed files with 29 additions and 2 deletions

View File

@@ -408,7 +408,6 @@ bool asst::BattleHelper::check_skip_plot_button(const cv::Mat& reusable)
bool asst::BattleHelper::check_in_battle(const cv::Mat& reusable, bool weak)
{
cv::Mat image = reusable.empty() ? m_inst_helper.ctrler()->get_image() : reusable;
check_skip_plot_button(image);
if (weak) {
BattlefieldMatcher analyzer(image);
m_in_battle = analyzer.analyze().has_value();