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

Merge pull request #354 from Wilma456/multifix

Fix multishell.launch
This commit is contained in:
Daniel Ratcliffe 2017-07-25 19:04:39 +01:00 committed by GitHub
commit b4fb7bb20f

View File

@ -210,7 +210,7 @@ function multishell.getCurrent()
end
function multishell.launch( tProgramEnv, sProgramPath, ... )
if type( tProgramArgs ) ~= "table" then
if type( tProgramEnv ) ~= "table" then
error( "bad argument #1 (expected table, got " .. type( tProgramEnv ) .. ")", 2 )
end
if type( sProgramPath ) ~= "string" then