diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index 260603971..a7b26c7c3 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -314,7 +314,8 @@ Minetest namespace reference Call these functions only at load time! * `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())` * Called just after mods have finished loading. * `minetest.register_on_shutdown(function())` diff --git a/doc/lua_api.md b/doc/lua_api.md index c733fc0a3..ac2304bca 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -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.