loadthething returns

This commit is contained in:
mcplayer3
2026-06-06 02:15:25 +10:00
parent d24e00c308
commit 8c33ee0eb9
+2 -2
View File
@@ -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