try to fix getbuf

This commit is contained in:
Justus Wolff
2026-02-15 11:39:21 +01:00
parent fa5946aab4
commit 0962ee81d4

View File

@@ -82,7 +82,7 @@ local function newdesign()
reset() reset()
for x=1+camx,dimensions["x"]+camx,1 do for x=1+camx,dimensions["x"]+camx,1 do
for z=1+camy,dimensions["z"]+camy,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) term.setCursorPos(x, z)
if currentbuf then if currentbuf then
term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white)) term.blit(" ", colors.toBlit(colors.white), colors.toBlit(colors.white))