mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/22781996056 [skip changelog]
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -483,7 +483,6 @@ void asst::BattleProcessTask::sleep_and_do_strategy(unsigned millisecond)
|
||||
const auto start = std::chrono::steady_clock::now();
|
||||
const auto delay = millisecond * 1ms;
|
||||
|
||||
|
||||
cv::Mat image = ctrler()->get_image();
|
||||
while (!need_exit() && check_in_battle(image) && std::chrono::steady_clock::now() - start < delay) {
|
||||
do_strategic_action(image);
|
||||
|
||||
Reference in New Issue
Block a user