# HG changeset patch # User RedGrinner # Date 1291651588 0 # Node ID fcffa4712a9680e8db61a6953a66244c2f01de8c # Parent 4c941eb04e577bf90421409d3a5f9882858ac008 Edited wiki page LuaAPI through web user interface. diff -r 4c941eb04e57 -r fcffa4712a96 LuaAPI.wiki --- a/LuaAPI.wiki Mon Dec 06 16:04:58 2010 +0000 +++ b/LuaAPI.wiki Mon Dec 06 16:06:28 2010 +0000 @@ -70,7 +70,7 @@
This function is called when a gear is damaged.
-Notice: Lua is case-sensitive. The 'O' in 'OnGearDamage' needs to be capitalised, or Hedgewars won't pick up this function call. This unusual capitalisation will probably be fixed in 0.9.15. +Notice: Lua is case-sensitive. The 'O' in '!OnGearDamage' needs to be capitalised, or Hedgewars won't pick up this function call. This unusual capitalisation will probably be fixed in 0.9.15. Example: