mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Clarify "dtime" in API (#14758)
This commit is contained in:
parent
fe6da3a16b
commit
9ab447843b
@ -314,7 +314,8 @@ Minetest namespace reference
|
|||||||
Call these functions only at load time!
|
Call these functions only at load time!
|
||||||
|
|
||||||
* `minetest.register_globalstep(function(dtime))`
|
* `minetest.register_globalstep(function(dtime))`
|
||||||
* Called every client environment step, usually interval of 0.1s
|
* Called every client environment step
|
||||||
|
* `dtime` is the time since last execution in seconds.
|
||||||
* `minetest.register_on_mods_loaded(function())`
|
* `minetest.register_on_mods_loaded(function())`
|
||||||
* Called just after mods have finished loading.
|
* Called just after mods have finished loading.
|
||||||
* `minetest.register_on_shutdown(function())`
|
* `minetest.register_on_shutdown(function())`
|
||||||
|
@ -5714,7 +5714,8 @@ Global callback registration functions
|
|||||||
Call these functions only at load time!
|
Call these functions only at load time!
|
||||||
|
|
||||||
* `minetest.register_globalstep(function(dtime))`
|
* `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())`
|
* `minetest.register_on_mods_loaded(function())`
|
||||||
* Called after mods have finished loading and before the media is cached or the
|
* Called after mods have finished loading and before the media is cached or the
|
||||||
aliases handled.
|
aliases handled.
|
||||||
|
Loading…
Reference in New Issue
Block a user