lua 5.2 compatibility #14

Merged
Kan18 merged 10 commits from attempt-lua52-compat into develop-1.8 2019-07-20 18:19:31 -04:00
Showing only changes of commit c0c054f802 - Show all commits

View File

@@ -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