fix __load_script

This commit is contained in:
Xertis 2024-10-19 18:55:18 +03:00 • committed by MihailRis
parent 6b84fa82fc
commit a44e37273d

View file

@ -248,7 +248,7 @@ end
-- Example `base:scripts/tests.lua`
--
-- nocache - ignore cached script, load anyway
local function __load_script(path, nocache)
function __load_script(path, nocache)
local packname, filename = parse_path(path)
-- __cached_scripts used in condition because cached result may be nil