StagedVoxelRegion : ..... I really need to come back and comb through this

This commit is contained in:
Starbeamrainbowlabs 2023-11-28 00:39:43 +00:00
parent de902fbd40
commit e3962bc8d7
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -175,7 +175,7 @@ function StagedVoxelRegion.save(svr, filepath, format)
-- Data tables -- Data tables
--- ---
local data, param2 = weac.table.map(svr.tables.data, function(val) local data, param2 = weac.table.map(svr.tables.data, function(val)
return wid2sid[data] return wid2sid[val]
end), svr.tables.param2 end), svr.tables.param2
table.insert(parts, table.concat(voxeltools.runlength_encode(data), ",")) table.insert(parts, table.concat(voxeltools.runlength_encode(data), ","))