fix generation.create_fragment (#596)

This commit is contained in:
MihailRis 2025-08-23 18:52:55 +03:00 committed by GitHub
parent 25f4c7fbdd
commit 8593250f65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ static int l_create_fragment(lua::State* L) {
auto fragment =
VoxelFragment::create(*level, pointA, pointB, crop, saveEntities);
fragment->prepare(*content);
std::array<std::shared_ptr<VoxelFragment>, 4> fragmentVariants {
std::move(fragment)
};