LuaAPI.wiki
changeset 60 e9375c8b25c7
parent 59 233360620ae2
child 61 99fa236c7eb9
--- a/LuaAPI.wiki	Mon Dec 06 19:54:24 2010 +0000
+++ b/LuaAPI.wiki	Mon Dec 06 19:55:43 2010 +0000
@@ -255,9 +255,9 @@
 </blockquote>
 Example:
 
-<code lang="lua">    !HogSay(CurrentHedgehog, "I wonder what to do...", SAY_THINK) -- thought bubble with text
-    !HogSay(CurrentHedgehog, "I'm hungry...", SAY_SAY) -- speech bubble with text
-    !HogSay(CurrentHedgehog, "I smell CAKE!", SAY_SHOUT) -- exclamatory bubble with text
+<code lang="lua">    !HogSay(!CurrentHedgehog, "I wonder what to do...", SAY_THINK) -- thought bubble with text
+    !HogSay(!CurrentHedgehog, "I'm hungry...", SAY_SAY) -- speech bubble with text
+    !HogSay(!CurrentHedgehog, "I smell CAKE!", SAY_SHOUT) -- exclamatory bubble with text
 </code>
 === <tt>!HogTurnLeft(gearUid, boolean)</tt> ===