mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix: 博朗台计算等待时间失败数据处理
This commit is contained in:
@@ -104,7 +104,9 @@ bool asst::MedicineCounterTaskPlugin::_run()
|
||||
|
||||
if (*sanity_target >= *sanity_max) [[unlikely]] {
|
||||
auto waitTime = DrGrandetTaskPlugin::analyze_time_left(image);
|
||||
sleep(waitTime);
|
||||
if (waitTime > 0) {
|
||||
sleep(waitTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user