mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
fix: 非部署动作时, 动作前等待结束后不必要的部署区更新可能触发暂停识别, 导致动作滞后
This commit is contained in:
@@ -193,8 +193,9 @@ bool asst::BattleProcessTask::do_action(const battle::copilot::Action& action, s
|
||||
|
||||
if (action.pre_delay > 0) {
|
||||
sleep_and_do_strategy(action.pre_delay);
|
||||
// 等待之后画面可能会变化,更新下干员信息
|
||||
update_deployment();
|
||||
if (action.type == ActionType::Deploy) {
|
||||
update_deployment(); // 等待之后画面可能会变化, 更新下干员信息, 但若为非部署动作, 则无需更新
|
||||
}
|
||||
}
|
||||
|
||||
bool ret = false;
|
||||
|
||||
Reference in New Issue
Block a user