Add necessary redrawing
This commit is contained in:
parent
8461e6dd0d
commit
108ca15230
5
lib.lua
5
lib.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user