1
0
mirror of https://github.com/kepler155c/opus synced 2025-07-04 19:12:52 +00:00

update startup

line 142: no globals were defined so we can just use {}
This commit is contained in:
Kan18 2019-07-19 16:48:37 -04:00 committed by GitHub
parent 9ce61b5d98
commit c0c054f802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ end
term.clear() term.clear()
term.setCursorPos(1, 1) term.setCursorPos(1, 1)
if bootOptions[bootOption].args then if bootOptions[bootOption].args then
os.run(_G.getfenv(1), table.unpack(bootOptions[bootOption].args)) os.run({}, table.unpack(bootOptions[bootOption].args))
else else
print(bootOptions[bootOption].prompt) print(bootOptions[bootOption].prompt)
end end