aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r--doc/client_lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index dd7bb3808..ea6f4e13f 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -750,6 +750,10 @@ Call these functions only at load time!
* Called when recieving physics_override from server
* Newest functions are called first
* If any function returns true, the physics override does not change
+* `minetest.register_on_sound_play(function(SimpleSoundSpec))`
+ * Called when recieving a play sound command from server
+ * Newest functions are called first
+ * If any function returns true, the sound does not play
### Setting-related
* `minetest.settings`: Settings object containing all of the settings from the