Posted 26 April 2020 - 04:34 AM
Not sure what I am doing wrong but the program wont even start this code is causing the error below
function updateSize()
width, height = term.getSize()
rows = math.floor((width - 1) / 25)
offset = math.floor((width - rows * 25 + 1) / 2)
surf = surface.create(width, height)
end