fixed issue #264
This commit is contained in:
parent
d653b4e19a
commit
b74bc541dc
@ -82,7 +82,8 @@
|
||||
os.locate(name .. ".lua")
|
||||
|
||||
if not p then
|
||||
return "\n\tno file " .. name .. " on module paths"
|
||||
-- try to load from the embedded script
|
||||
p = "$/" .. full
|
||||
end
|
||||
|
||||
local chunk, err = loadfile(p)
|
||||
|
Reference in New Issue
Block a user