Browse Source

Remove unused code (Exporting Dodge the Creeps doc)

(cherry picked from commit b175efad0e06c7b2a6aa1e343b7c99183657398c)
= 6 years ago
parent
commit
42164a3ac3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      getting_started/step_by_step/exporting.rst

+ 0 - 2
getting_started/step_by_step/exporting.rst

@@ -94,10 +94,8 @@ changed:
         if velocity.length() > 0:
             velocity = velocity.normalized() * speed
             $AnimatedSprite.play()
-            $Trail.emitting = true
         else:
             $AnimatedSprite.stop()
-            $Trail.emitting = false
 
         position += velocity * delta
         # We don't need to clamp the player's position