mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
dynamic::create_map, dynamic::create_list
This commit is contained in:
parent
7270e0ba24
commit
debdec1dc2
6 changed files with 27 additions and 9 deletions
|
|
@ -72,7 +72,7 @@ static void show_content_missing(
|
|||
std::shared_ptr<ContentLUT> lut
|
||||
) {
|
||||
using namespace dynamic;
|
||||
auto root = std::make_shared<Map>();
|
||||
auto root = create_map();
|
||||
auto& contentEntries = root->putList("content");
|
||||
for (auto& entry : lut->getMissingContent()) {
|
||||
std::string contentName = contenttype_name(entry.type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue