From 0962ee81d4aa123098d659af2f06b4dcefb28715 Mon Sep 17 00:00:00 2001 From: Justus Wolff Date: Sun, 15 Feb 2026 11:39:21 +0100 Subject: [PATCH] try to fix getbuf --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index a546fa6..308105e 100644 --- a/src/main.lua +++ b/src/main.lua @@ -82,7 +82,7 @@ local function newdesign() reset() for x=1+camx,dimensions["x"]+camx,1 do for z=1+camy,dimensions["z"]+camy,1 do - local currentbuf = buf[posasstring(x, currentfloor, z)] + local currentbuf = buf[posasstring(x-camx, currentfloor, z-camy)] term.setCursorPos(x, z) if currentbuf then term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white))