fix: 修复debug默认下外服加载错误,修复掉落上传服务器错误

This commit is contained in:
MistEO
2022-10-21 01:08:55 +08:00
parent 7a445e8525
commit 11979bf8b0
4 changed files with 13 additions and 9 deletions

View File

@@ -63,7 +63,7 @@ bool asst::TaskData::parse(const json::value& json)
bool some_next_null = false;
for (const auto& [name, task] : m_all_tasks_info) {
for (const auto& next : task->next) {
if (get(next) == nullptr) {
if (get(next, false) == nullptr) {
Log.error(name, "'s next", next, "is null");
some_next_null = true;
}