From b5169656d693add5769bbda56f3192ac29fb175c Mon Sep 17 00:00:00 2001 From: Ian Giestas Pauli Date: Sat, 18 Feb 2017 00:12:40 -0200 Subject: [PATCH] Update lua_api.txt --- doc/lua_api.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/lua_api.txt b/doc/lua_api.txt index ee7d57c2f..265202d6b 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2496,7 +2496,9 @@ These functions return the leftover itemstack. * `minetest.sound_play(spec, parameters)`: returns a handle * `spec` is a `SimpleSoundSpec` * `parameters` is a sound parameter table -* `minetest.sound_stop(handle)` +* `minetest.sound_pause(handle)`: pause the sound +* `minetest.sound_resume(handle)`: resume the previously paused sound +* `minetest.sound_stop(handle)`: stop the sound ### Timing * `minetest.after(time, func, ...)`