mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
fix __load_script
This commit is contained in:
parent
6b84fa82fc
commit
fa74e59818
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue