|
|
@ -135,7 +135,7 @@ function Bastion:Require(filePath, ...) |
|
|
|
end |
|
|
|
end |
|
|
|
return 1, loadResults |
|
|
|
return 1, loadResults |
|
|
|
end |
|
|
|
end |
|
|
|
Log(string.format("Bastion:Require - No files found in directory: %s", loadedFile.newPath)) |
|
|
|
--Log(string.format("Bastion:Require - No files found in directory: %s", loadedFile.newPath)) |
|
|
|
return 0, SafePack(nil) |
|
|
|
return 0, SafePack(nil) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -144,7 +144,7 @@ function Bastion:Require(filePath, ...) |
|
|
|
loadedFile.loadedPath, found = CheckFileExtensions(loadedFile.newPath, { "lua", "luac" }) |
|
|
|
loadedFile.loadedPath, found = CheckFileExtensions(loadedFile.newPath, { "lua", "luac" }) |
|
|
|
|
|
|
|
|
|
|
|
if not found then |
|
|
|
if not found then |
|
|
|
Log(string.format("Bastion:Require - Not Found: %s (%s)", loadedFile.newPath, loadedFile.originalPath)) |
|
|
|
--Log(string.format("Bastion:Require - Not Found: %s (%s)", loadedFile.newPath, loadedFile.originalPath)) |
|
|
|
return 0, SafePack(nil) |
|
|
|
return 0, SafePack(nil) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|