diff --git a/init.lua b/init.lua index 82eb412..eef937f 100644 --- a/init.lua +++ b/init.lua @@ -135,6 +135,9 @@ modlib = setmetatable({ end }) +-- Force load file module to pass dir_delim & to set concat_path +modlib.file = assert(loadfile(get_resource"file.lua"))(dir_delim) +modlib.file.concat_path = concat_path if minetest then modlib.mod = dofile(get_resource(modlib.modname, "mod.lua"))