aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index a355f8932..e253d2a28 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -540,6 +540,9 @@ minetest.after(time, func, param)
^ Call function after time seconds
^ param is optional; to pass multiple parameters, pass a table.
+Random:
+minetest.get_connected_players() -> list of ObjectRefs
+
Global objects:
minetest.env - environment reference