Fix dofile include paths

master
Olivier Dragon 2022-03-27 15:44:28 -04:00
parent bbf7965ebd
commit 51e12ba7fd
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ sfcg = {
usages_cache = {},
}
dofile(modpath.."craftguide.lua")
dofile(modpath.."/craftguide.lua")
if (minetest.get_modpath("sfinv") and minetest.global_exists("sfinv")) then
dofile(modpath.."sfinv.lua")
dofile(modpath.."/sfinv.lua")
end