LuaAPI.wiki
changeset 50 9033b970cbf7
parent 49 863995d12a27
child 51 5ab1cf4c7194
--- a/LuaAPI.wiki	Mon Dec 06 14:39:24 2010 +0000
+++ b/LuaAPI.wiki	Mon Dec 06 14:40:50 2010 +0000
@@ -91,7 +91,8 @@
 </blockquote>
 Example:
 
-<code lang="lua">    vgear = !AddVisualGear(1000, 1000, vgtExplosion, 0, false) -- adds an non-critical explosion at position 1000,1000. Returns 0 if it was not created.
+<code lang="lua">  -- adds an non-critical explosion at position 1000,1000. Returns 0 if it was not created.
+    vgear = !AddVisualGear(1000, 1000, vgtExplosion, 0, false) 
 </code>
 
 === <tt>!SpawnHealthCrate(x, y)</tt> (0.9.14) ===