fix: 修复自动战斗上干员延迟不生效的问题

This commit is contained in:
MistEO
2022-12-28 21:42:12 +08:00
parent e9821d2d62
commit 0cb5d4e093

View File

@@ -309,8 +309,8 @@ bool asst::BattleHelper::deploy_oper(const std::string& name, const Point& loc,
static const int coeff = swipe_oper_task_ptr->special_params.at(0);
Point end_point = target_point + (direction_target * coeff);
m_inst_helper.ctrler()->swipe(target_point, end_point, swipe_oper_task_ptr->post_delay);
m_inst_helper.sleep(use_oper_task_ptr->post_delay);
m_inst_helper.ctrler()->swipe(target_point, end_point, swipe_oper_task_ptr->post_delay);
}
if (deploy_with_pause) {