[antum_overrides] init.lua: Use namespace variables

"antum.overrides.modname" & "antum.overrides.modpath".
master
AntumDeluge 2016-08-29 17:30:51 -07:00
parent 334923260b
commit 81e584ecfc
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@
--]]
antum_overrides = {}
local modname = "antum_overrides"
local modpath = minetest.get_modpath(modname)
antum.overrides = {}
antum.overrides.modname = minetest.get_current_modname()
antum.overrides.modpath = minetest.get_modpath(antum.overrides.modname)
antum_overrides_path = modpath
antum.overrides_path = modpath