diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-28 13:22:48 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-28 13:22:48 +0300 |
commit | ae7aa65069983003343af8af5274df2e12ba5393 (patch) | |
tree | 6f621fa44f696f1c6bf037ef53a2b0ae5818ab11 /doc | |
parent | 9e0f969b8bd95dc700b3457886250fed9f318d05 (diff) | |
download | minetest-ae7aa65069983003343af8af5274df2e12ba5393.tar.gz minetest-ae7aa65069983003343af8af5274df2e12ba5393.tar.bz2 minetest-ae7aa65069983003343af8af5274df2e12ba5393.zip |
Add minetest.is_singleplayer()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 9017eedd0..49da0089b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -424,6 +424,7 @@ minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname" ^ Useful for loading additional .lua modules or static data from mod minetest.get_worldpath() -> eg. "/home/user/.minetest/world" ^ Useful for storing custom data +minetest.is_singleplayer() minetest.debug(line) ^ Goes to dstream |