Add necessary redrawing

This commit is contained in:
osmarks 2018-07-26 18:16:41 +01:00
parent 8461e6dd0d
commit 108ca15230

View File

@ -87,6 +87,9 @@ local function serve(fn, node_type)
init_screen(main_screen, colors.white, colors.black)
term.redirect(main_screen)
titlebar.redraw()
main_screen.redraw()
rednet.host(protocol .. "/" .. node_type, node_type .. "/" .. tostring(os.getComputerID()))
while true do
@ -117,6 +120,8 @@ local function serve(fn, node_type)
print("Request Invalid")
end
main_screen.redraw()
rednet.send(sender, response, protocol)
end
end