mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-15 10:30:05 +00:00
Fix multishell.launch
This commit is contained in:
parent
1d63598d43
commit
02eb52da71
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user