浏览代码

Remove unused code (Exporting Dodge the Creeps doc)

= 6 年之前
父节点
当前提交
b175efad0e
共有 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