Permalink
Browse files

use the world known to exist

  • Loading branch information...
1 parent 2ab33ab commit c488767a27f1d77e474cd14ce0b71a5b91563690 @leafo committed Dec 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 enemies.moon
View
@@ -56,10 +56,10 @@ class Enemy extends Tank
with world.particles
\add NumberParticle cx,cy, math.floor damage + 0.5
- \add SparkEmitter @world, bx, by, bdir
+ \add SparkEmitter world, bx, by, bdir
if @health <= 0
- \add Explosion @world, cx, cy
+ \add Explosion world, cx, cy
world.player\enemy_killed @, world

0 comments on commit c488767

Please sign in to comment.