summaryrefslogtreecommitdiff
path: root/john.lua
diff options
context:
space:
mode:
Diffstat (limited to 'john.lua')
-rw-r--r--john.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/john.lua b/john.lua
index b083539..bdbae96 100644
--- a/john.lua
+++ b/john.lua
@@ -22,9 +22,7 @@ for ix,iname in ipairs(monitors) do
local mon = peripheral.wrap(iname)
mon.clear()
mon.setTextScale(0.5)
- local t = term.redirect(mon)
- local _, bee = pcall(function() fb:present(xoffs,0) end)
- term.redirect(t)
+ local _, bee = pcall(function() fb:present(mon,xoffs,0) end)
xoffs = xoffs + (mon.getSize())*2 + 8
print(bee)
end