--- 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).