mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 01:03:46 +01:00
Fix dir_delim move
This commit is contained in:
parent
5cf756245b
commit
6937b6782c
3
init.lua
3
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"))
|
||||
|
Loading…
Reference in New Issue
Block a user