Main Menu: Add get_clientmodpath API (#5912)

Add `core.get_clientmodpath` to main menu API (also possible in async calls).
This commit is contained in:
Elijah Duffy
2017-06-06 05:34:31 -07:00
committed by Loïc Blot
parent b3dfe5332c
commit fee5171298
3 changed files with 16 additions and 2 deletions

View File

@@ -108,6 +108,8 @@ class ModApiMainMenu: public ModApiBase
static int l_get_modpath(lua_State *L);
static int l_get_clientmodpath(lua_State *L);
static int l_get_gamepath(lua_State *L);
static int l_get_texturepath(lua_State *L);