mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -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, ...)
|
||||
if filename then
|
||||
local result, reason = io.open(filename)
|
||||
if not result then
|
||||
local file, reason = io.open(filename)
|
||||
if not file then
|
||||
error(reason, 2)
|
||||
end
|
||||
local args = table.pack(...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user