LuaAPI.wiki
changeset 53 f9e2edcce6ed
parent 52 714b56de5ea1
child 54 2017dc6bc149
--- a/LuaAPI.wiki	Mon Dec 06 15:00:01 2010 +0000
+++ b/LuaAPI.wiki	Mon Dec 06 15:01:27 2010 +0000
@@ -241,8 +241,8 @@
 </blockquote>
 Example:
 
-<code lang="lua">    HogTurnLeft(CurrentHedgehog, true) -- turns CurrentHedgehog left 
-    HogTurnLeft(CurrentHedgehog, false) -- turns CurrentHedgehog right</code>
+<code lang="lua">    !HogTurnLeft(CurrentHedgehog, true) -- turns CurrentHedgehog left 
+    !HogTurnLeft(CurrentHedgehog, false) -- turns CurrentHedgehog right</code>
 === <tt>!SetGearPosition(gearUid, x, y)</tt> ===
 
 <blockquote>Places the specified gear exactly at the position (x,y).