commit
3d5db34203
@ -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
|
||||
|
||||
@ -60,4 +60,5 @@ const luaL_Reg itemlib[] = {
|
||||
{"stack_size", lua::wrap<l_item_stack_size>},
|
||||
{"defs_count", lua::wrap<l_item_defs_count>},
|
||||
{"icon", lua::wrap<l_item_get_icon>},
|
||||
{"caption", lua::wrap<l_item_caption>},
|
||||
{NULL, NULL}};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user