1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Ability to remove minetest.after once set (#10103)

This commit is contained in:
tenplus1
2020-09-23 18:11:56 +01:00
committed by GitHub
parent add68369a5
commit 34e3ede8ee
2 changed files with 8 additions and 3 deletions

View File

@@ -5336,10 +5336,13 @@ Sounds
Timing
------
* `minetest.after(time, func, ...)`
* `minetest.after(time, func, ...)` : returns job table to use as below.
* Call the function `func` after `time` seconds, may be fractional
* Optional: Variable number of arguments that are passed to `func`
* `job:cancel()`
* Cancels the job function from being called
Server
------