mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 01:49:32 +01:00
Move modpath to separate variable to make it easier to add new files without merge conflicts
This commit is contained in:
parent
05c91d6282
commit
26b3a8d81c
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
mcl_util = {}
|
mcl_util = {}
|
||||||
|
|
||||||
dofile(minetest.get_modpath(minetest.get_current_modname()).."/roman_numerals.lua")
|
local modname = minetest.get_current_modname()
|
||||||
|
local modpath = minetest.get_modpath(modname)
|
||||||
|
dofile(modpath.."/roman_numerals.lua")
|
||||||
|
|
||||||
-- Updates all values in t using values from to*.
|
-- Updates all values in t using values from to*.
|
||||||
function table.update(t, ...)
|
function table.update(t, ...)
|
||||||
|
|
Loading…
Reference in a new issue