allow loading arbitrary files as FileData
This commit is contained in:
parent
f5e5bce3ef
commit
00f3db4ff9
@ -51,7 +51,7 @@ function AssetBundle.loadFile(path)
|
||||
elseif (ext == "lua") then
|
||||
return require(string.gsub(path, ".lua", ""))
|
||||
end
|
||||
return nil
|
||||
return filedata
|
||||
end
|
||||
|
||||
function AssetBundle.cutExtension(filename)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user