From 6937b6782cd3ae70f490b393d99911ebed3531ca Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 6 Nov 2021 18:38:08 +0100 Subject: [PATCH] Fix dir_delim move --- init.lua | 3 +++ 1 file changed, 3 insertions(+) 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"))