fix attempt #5

This commit is contained in:
justuswolff
2026-02-17 02:12:38 +01:00
parent 3d65715b8d
commit 136b4d28b4

View File

@@ -390,7 +390,7 @@ local function render(buf, pbuf, cx,cy,cz, tx,tz, sx,sz, shouldsetlist,invertsli
reset()
for x=1,sx,1 do
for z=1,sz,1 do
local currentbuf = pbuf[posasstring(x-camx, cy, z-camy)]
local currentbuf = pbuf[posasstring(x, cy, z)]
term.setCursorPos(x-camx, z-camy)
if currentbuf then -- wall
term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white))