1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 19:20:29 +00:00

Load modules, not modiles

This commit is contained in:
Lignum 2017-05-19 19:16:50 +02:00
parent 9b6d335c5d
commit 95991694e0
No known key found for this signature in database
GPG Key ID: E4DE8F54CA0912BA

View File

@ -75,7 +75,7 @@ local function createShellEnv( sDir )
return package.loaded[name]
end
local sError = "Error loading modile '" .. name .. "':"
local sError = "Error loading module '" .. name .. "':"
for n,searcher in ipairs(package.loaders) do
local loader, err = searcher(name)
if loader then