fix: sort loop
This commit is contained in:
@@ -266,10 +266,10 @@ function drawLogs(x0, y0, x1, y1)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for lineIdx = #wrappedMessage, 1, -1 do
|
for lineIdx = #wrappedMessage, 1, -1 do
|
||||||
local line = wrappedMessage[i]
|
|
||||||
|
|
||||||
if drawnLines > h then break end
|
if drawnLines > h then break end
|
||||||
|
|
||||||
|
local line = wrappedMessage[i]
|
||||||
|
|
||||||
local currentY = y1 - drawnLines
|
local currentY = y1 - drawnLines
|
||||||
term.setCursorPos(1, currentY)
|
term.setCursorPos(1, currentY)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user