Globalize modpath and worldpath

This commit is contained in:
Gaël C
2021-06-03 19:21:45 +02:00
parent 0427b42d17
commit 19efeaaff6
5 changed files with 15 additions and 10 deletions

View File

@ -1,4 +1,4 @@
local modpath = minetest.get_modpath(minetest.get_current_modname()) .. '/'
local modpath = mapgen_rivers.modpath
local make_polygons = dofile(modpath .. 'polygons.lua')
local transform_quadri = dofile(modpath .. 'geometry.lua')