From df022982137ff8e1bcf51d1ba3256879d0fd97fb Mon Sep 17 00:00:00 2001 From: justuswolff Date: Tue, 17 Feb 2026 21:53:15 +0100 Subject: [PATCH] fix fill function --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index e8e2aad..85ce3a2 100644 --- a/src/main.lua +++ b/src/main.lua @@ -95,7 +95,7 @@ local function fill(ntype, x,y,z, buf, sx,sz) local cx,cz = cn[1],cn[2] local newneigh = fill_getneighbors(cx,y,cz, sx,sz, inittype,buf) for _,v in pairs(newneigh) do - table.insert(neighbors, newneigh) + table.insert(neighbors, v) end buf[posasstring(x,y,z)] = ntype end