mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
Reapply "fix: overview is null"
This reverts commit 021226f22d.
忘了修复没进了
This commit is contained in:
@@ -825,6 +825,11 @@ bool update_levels_json(const fs::path& input_file, const fs::path& output_dir)
|
||||
stage_obj.erase("tiles");
|
||||
stage_obj.erase("view");
|
||||
stage_obj["filename"] = filename;
|
||||
for (auto& [key, val] : stage_obj) {
|
||||
if (val.is_null()) {
|
||||
stage_obj[key] = "Unknown";
|
||||
}
|
||||
}
|
||||
overview[std::move(stem)] = std::move(stage_obj);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user