Edited wiki page LuaAPI through web user interface.
authorRedGrinner
Wed, 08 Dec 2010 20:14:11 +0000
changeset 66 7586adb1eace
parent 65 efa379b5510e
child 67 eecbb1c261bb
Edited wiki page LuaAPI through web user interface.
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Dec 08 20:13:37 2010 +0000
+++ b/LuaAPI.wiki	Wed Dec 08 20:14:11 2010 +0000
@@ -78,7 +78,7 @@
 
 Example:
 
-<code lang="lua">    function !onGearDamage(gear, damage)
+<code lang="lua">    function onGearDamage(gear, damage)
         if (!GetGearType(gear) == gtHedgehog) then
             -- adds a message saying, e.g. "Hoggy H took 25 points of damage"
             !AddCaption(!GetHogName(gear) .. ' took ' .. damage .. ' points of damage')