mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Fixes #463 - io.lines() was derped.
This commit is contained in:
parent
d77da6698f
commit
f685f81cc7
@ -70,8 +70,8 @@ end
|
|||||||
|
|
||||||
function io.lines(filename, ...)
|
function io.lines(filename, ...)
|
||||||
if filename then
|
if filename then
|
||||||
local result, reason = io.open(filename)
|
local file, reason = io.open(filename)
|
||||||
if not result then
|
if not file then
|
||||||
error(reason, 2)
|
error(reason, 2)
|
||||||
end
|
end
|
||||||
local args = table.pack(...)
|
local args = table.pack(...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user