Преглед на файлове

Merge pull request #2279 from Ursus-Z/edited-docs

Remove unused code (Exporting Dodge the Creeps doc)
Chris Bradfield преди 6 години
родител
ревизия
b9c4ef11f6
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  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