Reapply "Nonfunctional virtual component support"
This reverts commit bc06ec457d.
This commit is contained in:
@@ -25,7 +25,9 @@ gpu.setBackground(0x000000)
|
||||
gpu.fill(1, 1, resx, resy, " ")
|
||||
local result, reason = xpcall(loadthething, handleError)
|
||||
if not result then
|
||||
local computer = import("computer") or computer
|
||||
if import then
|
||||
local computer = import("computer")
|
||||
end
|
||||
gpu.setBackground(0x000000)
|
||||
gpu.fill(1, 1, resx, resy, " ")
|
||||
gpu.setBackground(0x800000)
|
||||
|
||||
Reference in New Issue
Block a user