fix __load_script

This commit is contained in:
Xertis 2024-10-19 18:55:18 +03:00 committed by GitHub
parent 6b84fa82fc
commit fa74e59818
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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