LuaAPI.wiki
changeset 54 2017dc6bc149
parent 53 f9e2edcce6ed
child 55 ef26ff619aea
--- a/LuaAPI.wiki	Mon Dec 06 15:01:27 2010 +0000
+++ b/LuaAPI.wiki	Mon Dec 06 15:02:41 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).