diff options
author | ShadowNinja <noreply@gmail.com> | 2013-09-16 17:03:44 -0400 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-09-17 01:47:45 +0200 |
commit | c9eb17aba32036e3a2cf25166e1ab256d6dd2cb7 (patch) | |
tree | 4c3c398ca2b2962cb8379128badcde7bdd7ec331 | |
parent | cfe6eaa66ba44e1f4cedcd91fd730a5b520eb437 (diff) | |
download | minetest-c9eb17aba32036e3a2cf25166e1ab256d6dd2cb7.tar.gz minetest-c9eb17aba32036e3a2cf25166e1ab256d6dd2cb7.tar.bz2 minetest-c9eb17aba32036e3a2cf25166e1ab256d6dd2cb7.zip |
Fix comments about length of server step
6b927229f5f9cb9a8163ecec482160975199fa0f Changed the default server step
from 0.05s to 0.1s
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index c63ea29e1..1cd6a134e 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1109,7 +1109,7 @@ minetest.register_decoration(decoration definition) Global callback registration functions: (Call these only at load time) minetest.register_globalstep(func(dtime)) -^ Called every server step, usually interval of 0.05s +^ Called every server step, usually interval of 0.1s minetest.register_on_shutdown(func()) ^ Called before server shutdown ^ WARNING: If the server terminates abnormally (i.e. crashes), the registered @@ -1790,7 +1790,7 @@ Registered entities - on_activate(self, staticdata) ^ Called when the object is instantiated. - on_step(self, dtime) - ^ Called on every server tick (dtime is usually 0.05 seconds) + ^ Called on every server tick (dtime is usually 0.1 seconds) - on_punch(self, puncher, time_from_last_punch, tool_capabilities, dir) ^ Called when somebody punches the object. ^ Note that you probably want to handle most punches using the |