loadthething returns
This commit is contained in:
@@ -17,7 +17,7 @@ local function handleError(errorMessage)
|
|||||||
return (errorMessage .. "\n \n" .. debug.traceback())
|
return (errorMessage .. "\n \n" .. debug.traceback())
|
||||||
end
|
end
|
||||||
|
|
||||||
function loadBoot()
|
function loadthething()
|
||||||
local foundArchitecture = false
|
local foundArchitecture = false
|
||||||
for _, arch in pairs(computer.getArchitectures()) do
|
for _, arch in pairs(computer.getArchitectures()) do
|
||||||
if arch == "Lua 5.3" then
|
if arch == "Lua 5.3" then
|
||||||
@@ -49,7 +49,7 @@ local pullSignal = computer.pullSignal
|
|||||||
local beep = computer.beep
|
local beep = computer.beep
|
||||||
local unicode = unicode
|
local unicode = unicode
|
||||||
|
|
||||||
local result, reason = xpcall(loadBoot, handleError)
|
local result, reason = xpcall(loadthething, handleError)
|
||||||
local lines = {}
|
local lines = {}
|
||||||
if not result then
|
if not result then
|
||||||
resX, resY = gpu.getResolution() -- doing it again because boot.lua changes the resolution
|
resX, resY = gpu.getResolution() -- doing it again because boot.lua changes the resolution
|
||||||
|
|||||||
Reference in New Issue
Block a user