fix: 战斗中教程剧情导致错误的倍速切换

This commit is contained in:
status102
2024-03-22 16:20:29 +08:00
parent 634117c687
commit c00d1673f5
5 changed files with 22 additions and 1 deletions

View File

@@ -407,7 +407,7 @@ bool asst::BattleProcessTask::check_in_battle(const cv::Mat& reusable, bool weak
auto result = analyzer.analyze();
m_in_battle = result.has_value();
if (m_in_battle && !result->pause_button) {
if (check_skip_plot_button(image)) {
if (check_skip_plot_button(image) && check_in_speed_up(image)) {
speed_up();
}
}