fix progress rendering under ceiling/floor placement not showing placed blocks.

This commit is contained in:
justuswolff
2026-02-16 19:30:03 +01:00
parent f67f87f9cd
commit 5c03a5751f

View File

@@ -393,7 +393,7 @@ local function printdes(buf, dimensions)
reset() -- render current work reset() -- render current work
for x=1,dimensions["x"],1 do for x=1,dimensions["x"],1 do
for z=1,dimensions["z"],1 do for z=1,dimensions["z"],1 do
local currentbuf = pbuf[posasstring(x, cy, z)] local currentbuf = pbuf[posasstring(x, 0, z)]
term.setCursorPos(x, z) term.setCursorPos(x, z)
if currentbuf then -- wall if currentbuf then -- wall
term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white)) term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white))