projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8beb0f1
)
Use user folder for gamemanager too
author
sapier
<Sapier at GMX dot net>
Wed, 17 Jul 2013 19:03:00 +0000
(21:03 +0200)
committer
PilzAdam
<pilzadam@minetest.net>
Mon, 22 Jul 2013 16:10:00 +0000
(18:10 +0200)
src/guiLuaApi.cpp
patch
|
blob
|
history
diff --git
a/src/guiLuaApi.cpp
b/src/guiLuaApi.cpp
index 211a6e1aaf96da8bbd1969526a1a8b5c98d7c9c5..b00bb5a84f761ccc1b05f3554d1f75daec840058 100644
(file)
--- 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;
}