make write to buf under fill use cx and cz

This commit is contained in:
justuswolff
2026-02-17 21:54:58 +01:00
parent df02298213
commit a80ddd3126

View File

@@ -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()