Skip to content
Snippets Groups Projects
Commit 07fb257c authored by sapier's avatar sapier Committed by PilzAdam
Browse files

Use user folder for gamemanager too

parent 8beb0f19
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment