summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-09 22:36:10 +0200
committerGitHub <noreply@github.com>2021-04-09 22:36:10 +0200
commit0abc1e98edb87b2e23eecccfd6b1393ac7fb4f56 (patch)
treef67a5afc1872850637c3e3c6bb698d36ec4f51b5 /src/script/lua_api/l_mainmenu.h
parenta0e7a4a0df8fe49907abad2e28f9709d571386e1 (diff)
downloadminetest-0abc1e98edb87b2e23eecccfd6b1393ac7fb4f56.tar.gz
minetest-0abc1e98edb87b2e23eecccfd6b1393ac7fb4f56.tar.bz2
minetest-0abc1e98edb87b2e23eecccfd6b1393ac7fb4f56.zip
Fix server favorites not saving when client/serverlist/ doesn't exist already (#11152)
Diffstat (limited to 'src/script/lua_api/l_mainmenu.h')
-rw-r--r--src/script/lua_api/l_mainmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_mainmenu.h b/src/script/lua_api/l_mainmenu.h
index 49ce7c251..33ac9e721 100644
--- a/src/script/lua_api/l_mainmenu.h
+++ b/src/script/lua_api/l_mainmenu.h
@@ -58,7 +58,7 @@ private:
* @param path path to check
* @return true if the path may be modified
*/
- static bool mayModifyPath(const std::string &path);
+ static bool mayModifyPath(std::string path);
//api calls