summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-28 13:01:35 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-28 13:01:35 +0300
commit9e0f969b8bd95dc700b3457886250fed9f318d05 (patch)
tree25ccfd3dba9feff2a7bc9f37594158c078056b69 /doc/lua_api.txt
parent14a8fa4d68b54782ac6183263414ab2bee6fcaf7 (diff)
downloadminetest-9e0f969b8bd95dc700b3457886250fed9f318d05.tar.gz
minetest-9e0f969b8bd95dc700b3457886250fed9f318d05.tar.bz2
minetest-9e0f969b8bd95dc700b3457886250fed9f318d05.zip
doc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath()
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f66743a7d..9017eedd0 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -422,7 +422,7 @@ minetest namespace reference
minetest.get_current_modname() -> string
minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
^ Useful for loading additional .lua modules or static data from mod
-minetest.get_worldpath(modname) -> eg. "/home/user/.minetest/world"
+minetest.get_worldpath() -> eg. "/home/user/.minetest/world"
^ Useful for storing custom data
minetest.debug(line)