diff options
author | sapier <Sapier at GMX dot net> | 2013-07-17 21:03:00 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-07-22 18:10:00 +0200 |
commit | 07fb257c047407facfd96ca2a0eedef37abce548 (patch) | |
tree | 9e470fb7b251503efdcb465439cf19292144c0f7 | |
parent | 8beb0f19d18e9fc7eaa0898951afa6e3bca0c513 (diff) | |
download | minetest-07fb257c047407facfd96ca2a0eedef37abce548.tar.gz minetest-07fb257c047407facfd96ca2a0eedef37abce548.tar.bz2 minetest-07fb257c047407facfd96ca2a0eedef37abce548.zip |
Use user folder for gamemanager too
-rw-r--r-- | src/guiLuaApi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiLuaApi.cpp b/src/guiLuaApi.cpp index 211a6e1aa..b00bb5a84 100644 --- a/src/guiLuaApi.cpp +++ b/src/guiLuaApi.cpp @@ -821,7 +821,7 @@ int guiLuaApi::l_get_modpath(lua_State *L) int guiLuaApi::l_get_gamepath(lua_State *L) { std::string gamepath - = fs::RemoveRelativePathComponents(porting::path_share + DIR_DELIM + "games" + DIR_DELIM); + = fs::RemoveRelativePathComponents(porting::path_user + DIR_DELIM + "games" + DIR_DELIM); lua_pushstring(L, gamepath.c_str()); return 1; } |