From 136b4d28b437c0136f3f0db9b76a08fa4c9dbc14 Mon Sep 17 00:00:00 2001 From: justuswolff Date: Tue, 17 Feb 2026 02:12:38 +0100 Subject: [PATCH] fix attempt #5 --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index c478391..5faa01e 100644 --- a/src/main.lua +++ b/src/main.lua @@ -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))