LuaAPI.wiki
changeset 535 5cb76f048bd9
parent 533 f33a741d9057
child 538 1ee51018a898
--- a/LuaAPI.wiki	Sun Dec 21 04:46:37 2014 +0000
+++ b/LuaAPI.wiki	Sun Dec 21 12:10:49 2014 +0000
@@ -242,8 +242,8 @@
 === <tt>onDownUp()</tt> ===
 This function is called when you release the down key.
  
-=== <tt>onHogAttack()</tt> ===
-This function is called when you press the attack key.
+=== <tt>onHogAttack(ammoType)</tt> ===
+This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack.
 
 === <tt>onLeftUp()</tt> ===
 This function is called when you release the left key.