mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
feat: 自动战斗费用击杀数缓存, 减少性能消耗
This commit is contained in:
@@ -340,7 +340,7 @@ bool asst::BattleProcessTask::wait_condition(const Action& action)
|
||||
if (m_kills < action.kills) {
|
||||
update_image_if_empty();
|
||||
while (!need_exit() && m_kills < action.kills) {
|
||||
update_kills(image);
|
||||
update_kills(image, image_prev);
|
||||
if (m_kills >= action.kills) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user