diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-24 15:01:52 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-24 15:01:52 +0100 |
commit | fb4d54ee30ee9b8394bac18418b88adb0f9cd953 (patch) | |
tree | bb409836bdfdbbc75b9c40216aee28bad39165c5 /doc/client_lua_api.txt | |
parent | 50629cc6a1830783580811cedec1fd8ab559f40b (diff) | |
download | dragonfireclient-fb4d54ee30ee9b8394bac18418b88adb0f9cd953.tar.xz |
Added minetest.register_on_play_sound
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 4 |
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 |