fix __load_script
This commit is contained in:
@@ -248,7 +248,7 @@ end
|
|||||||
-- Example `base:scripts/tests.lua`
|
-- Example `base:scripts/tests.lua`
|
||||||
--
|
--
|
||||||
-- nocache - ignore cached script, load anyway
|
-- nocache - ignore cached script, load anyway
|
||||||
local function __load_script(path, nocache)
|
function __load_script(path, nocache)
|
||||||
local packname, filename = parse_path(path)
|
local packname, filename = parse_path(path)
|
||||||
|
|
||||||
-- __cached_scripts used in condition because cached result may be nil
|
-- __cached_scripts used in condition because cached result may be nil
|
||||||
|
|||||||
Reference in New Issue
Block a user