fix.尝试修复肉鸽卡住后不重试的问题,优化干员配置,更新版本号

This commit is contained in:
MistEO
2022-01-29 21:45:21 +08:00
parent cec6cbaade
commit d8abc26718
3 changed files with 6 additions and 4 deletions

View File

@@ -3682,9 +3682,9 @@
"---近卫---",
"幽灵鲨",
"煌",
"帕拉斯",
"银灰",
"陈",
"帕拉斯",
"棘刺",
"---先锋---",
"凛冬",
@@ -3723,6 +3723,7 @@
"安洁莉娜",
"铃兰",
"麦哲伦",
"令",
"---特种---",
"水月",
"狮蝎"

View File

@@ -338,8 +338,9 @@ bool asst::Assistant::append_roguelike(int mode)
std::unique_lock<std::mutex> lock(m_mutex);
// 这个任务如果卡住会放弃当前的肉鸽并重新开始,所以多添加一点。先这样凑合用
for (int i = 0; i != 10000; ++i) {
m_tasks_queue.emplace(roguelike_task_ptr);
for (int i = 0; i != 100; ++i) {
auto temp = std::make_shared<ProcessTask>(*roguelike_task_ptr);
m_tasks_queue.emplace(temp);
}
return true;

View File

@@ -2,5 +2,5 @@
namespace asst
{
constexpr static const char* Version = "v2.9.5";
constexpr static const char* Version = "v2.9.6";
}