aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVincent Glize <vincentglize@hotmail.fr>2017-04-29 09:16:06 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-29 09:16:06 +0200
commit19960e26c672c6337f8c6ffbe27f2c6bca49750c (patch)
tree8913f6063be732c009eac19285bf1fcbbec95d08 /doc
parentb662a4577d692329b9ca83525e6039f2ddcd1ac1 (diff)
downloadminetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.tar.gz
minetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.tar.bz2
minetest-19960e26c672c6337f8c6ffbe27f2c6bca49750c.zip
[CSM] add screenshot api lua (#5674)
* [CSM] add screenshot api lua
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index b2aeb3f25..86fcd02a7 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -703,6 +703,8 @@ Call these functions only at load time!
* `minetest.get_protocol_version()`
* Returns the protocol version of the server.
* Might not be accurate at start up as the client might not be connected to the server yet, in that case it will return 0.
+* `minetest.take_screenshot()`
+ * Take a screenshot.
### Misc.
* `minetest.parse_json(string[, nullvalue])`: returns something