mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-12 19:20:29 +00:00
small fix
This commit is contained in:
parent
ffa075cd3d
commit
9b6d335c5d
@ -80,7 +80,7 @@ local function createShellEnv( sDir )
|
|||||||
local loader, err = searcher(name)
|
local loader, err = searcher(name)
|
||||||
if loader then
|
if loader then
|
||||||
package.loaded[name] = sentinel
|
package.loaded[name] = sentinel
|
||||||
local result, err = loader( err )
|
local result = loader( err )
|
||||||
if result ~= nil then
|
if result ~= nil then
|
||||||
package.loaded[name] = result
|
package.loaded[name] = result
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user