lua 5.2 compatibility #14
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user