mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add "MINETEST_MOD_PATH" environment variable (#11515)
This adds an environment variable MINETEST_MOD_PATH. When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/.
This commit is contained in:
parent
53e126ac49
commit
9fab5d594c
12 changed files with 74 additions and 6 deletions
|
@ -112,6 +112,8 @@ private:
|
|||
|
||||
static int l_get_modpath(lua_State *L);
|
||||
|
||||
static int l_get_modpaths(lua_State *L);
|
||||
|
||||
static int l_get_clientmodpath(lua_State *L);
|
||||
|
||||
static int l_get_gamepath(lua_State *L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue