浏览代码

Revert function name

Chris Bradfield 7 年之前
父节点
当前提交
c1c634d923
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/step_by_step/exporting.rst

+ 1 - 1
getting_started/step_by_step/exporting.rst

@@ -113,7 +113,7 @@ changed:
             $AnimatedSprite.animation = "up"
             $AnimatedSprite.flip_v = velocity.y > 0
 
-    func _on_player_body_entered(body):
+    func _on_Player_body_entered( body ):
         $Collision.disabled = true
         hide()
         emit_signal("hit")