From 07fb257c047407facfd96ca2a0eedef37abce548 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 17 Jul 2013 21:03:00 +0200 Subject: [PATCH] Use user folder for gamemanager too --- src/guiLuaApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }