diff --git a/src/main.lua b/src/main.lua index fe9447c..24516a8 100644 --- a/src/main.lua +++ b/src/main.lua @@ -95,7 +95,7 @@ local function fill(ntype, x,y,z, buf, sx,sz) term.setcol(colors.white, colors.black) while #neighbors > 0 do term.setCursorPos(1,1) - term.write(tostring(processed).."/"..tostring(#totalneighbors)) + term.write(tostring(processed).."/"..tostring(totalneighbors)) local cn = table.remove(neighbors, 1) local cx,cz = cn[1],cn[2] local newneigh = fill_getneighbors(cx,y,cz, sx,sz, inittype,buf)