mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Clarify "dtime" in API (#14758)
This commit is contained in:
parent
fe6da3a16b
commit
9ab447843b
2 changed files with 4 additions and 2 deletions
|
@ -5714,7 +5714,8 @@ Global callback registration functions
|
|||
Call these functions only at load time!
|
||||
|
||||
* `minetest.register_globalstep(function(dtime))`
|
||||
* Called every server step, usually interval of 0.1s
|
||||
* Called every server step, usually interval of 0.1s.
|
||||
* `dtime` is the time since last execution in seconds.
|
||||
* `minetest.register_on_mods_loaded(function())`
|
||||
* Called after mods have finished loading and before the media is cached or the
|
||||
aliases handled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue