Nonfunctional virtual component support

This commit is contained in:
TheWahlolly
2025-06-14 18:31:09 +03:00
parent 21472ba797
commit f425e0d690
3 changed files with 81 additions and 12 deletions
+3 -1
View File
@@ -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)