lua 5.2 compatibility (#14)
compatibility update - making a few changes in next commit...
This commit was merged in pull request #14.
This commit is contained in:
@@ -139,7 +139,7 @@ end
|
||||
term.clear()
|
||||
term.setCursorPos(1, 1)
|
||||
if bootOptions[bootOption].args then
|
||||
os.run(_G.getfenv(1), table.unpack(bootOptions[bootOption].args))
|
||||
os.run({}, table.unpack(bootOptions[bootOption].args))
|
||||
else
|
||||
print(bootOptions[bootOption].prompt)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user