make write to buf under fill use cx and cz
This commit is contained in:
@@ -97,7 +97,7 @@ local function fill(ntype, x,y,z, buf, sx,sz)
|
|||||||
for _,v in pairs(newneigh) do
|
for _,v in pairs(newneigh) do
|
||||||
table.insert(neighbors, v)
|
table.insert(neighbors, v)
|
||||||
end
|
end
|
||||||
buf[posasstring(x,y,z)] = ntype
|
buf[posasstring(cx,y,cz)] = ntype
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local function newdesign()
|
local function newdesign()
|
||||||
|
|||||||
Reference in New Issue
Block a user