diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-06-06 12:53:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 12:53:59 +0200 |
commit | ccc3af128cb4b6213b8111115c570fe988d3523b (patch) | |
tree | 38a2f8cb43018759ca234ef1de62a43ff5049704 /doc/client_lua_api.txt | |
parent | a2de439a91df6876e13230696c05957a9da8b2ce (diff) | |
download | minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.gz minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.tar.bz2 minetest-ccc3af128cb4b6213b8111115c570fe988d3523b.zip |
CSM/SSM: Add on_mods_loaded callback (#7411)
* CSM/SSM: Add on_mods_loaded callback
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index bdefa3af5..46b47d892 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -648,6 +648,8 @@ Call these functions only at load time! * `minetest.register_globalstep(func(dtime))` * Called every client environment step, usually interval of 0.1s +* `minetest.register_on_mods_loaded(func())` + * Called just after mods have finished loading. * `minetest.register_on_shutdown(func())` * Called before client shutdown * **Warning**: If the client terminates abnormally (i.e. crashes), the registered |