LuaAPI.wiki
changeset 346 5f322c85c0e0
parent 328 fdc71ac8db83
child 347 edc8d322d02d
--- a/LuaAPI.wiki	Sat Nov 16 14:44:32 2013 +0000
+++ b/LuaAPI.wiki	Thu Nov 21 19:10:37 2013 +0000
@@ -98,7 +98,12 @@
 
 === <tt>onGameTick()</tt> ===
 
-<blockquote>This function is called on every game tick, i.e. 1000 times a second.
+<blockquote>This function is called on every game tick, i.e. 1000 times a second.  If you just need to check on something periodically, consider...
+</blockquote>
+
+=== <tt>onGameTick20()</tt> ===
+
+<blockquote>This function is called every 20 game ticks, i.e. 50 times a second.  It reduces lua overhead for simple monitoring that doesn't need to happen every single tick.
 </blockquote>
 
 === <tt>onNewTurn()</tt> ===