Bugfix in utils

This commit is contained in:
Hadinos Sanosam 2021-01-12 01:42:09 +01:00
parent 38b5f70f2a
commit ea4e05a889

2
utils
View File

@ -12,7 +12,7 @@ function utils.getSideOf(name) --get which side, if any, a peripheral p is conne
end end
end end
function printToMon(mon, text) function utils.printToMon(mon, text)
local x, y = mon.getCursorPos() local x, y = mon.getCursorPos()
mon.write(text) mon.write(text)
mon.setCursorPos(x, y+1) mon.setCursorPos(x, y+1)