try to fix getbuf
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user