fix __load_script

This commit is contained in:
Xertis
2024-10-19 18:55:18 +03:00
committed by GitHub
parent 6b84fa82fc
commit fa74e59818
+1 -1
View File
@@ -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