1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-26 00:46:54 +00:00

Merge pull request #475 from Wilma456/ioline

Fix io.lines()
This commit is contained in:
Daniel Ratcliffe 2018-01-12 13:56:21 +00:00 committed by GitHub
commit 8c66ce03d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ function input( _arg )
end
function lines( _sFileName )
if _G.type( _sFileNamel ) ~= "string" then
if _G.type( _sFileName ) ~= "string" then
error( "bad argument #1 (expected string, got " .. _G.type( _sFileName ) .. ")", 2 )
end
if _sFileName then