Now should boot in OpenOS

This commit is contained in:
Jane Roxanne 2020-03-11 17:58:48 -05:00
parent 77e542785e
commit 73ce20f41b
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ local computer = computer
local booted = false
local zcfg = {}
function log(...)
component.proxy(component.list("ocemu")() or component.list("sandbox")()).log(...)
local c = component.list("ocemu")() or component.list("sandbox")())
if c then
component.proxy(c).log(...)
end
end
local th_i = 0
local function th_a(func)