Browse Source

Revert function name

Chris Bradfield 7 years ago
parent
commit
c1c634d923
1 changed files with 1 additions and 1 deletions
  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.animation = "up"
             $AnimatedSprite.flip_v = velocity.y > 0
             $AnimatedSprite.flip_v = velocity.y > 0
 
 
-    func _on_player_body_entered(body):
+    func _on_Player_body_entered( body ):
         $Collision.disabled = true
         $Collision.disabled = true
         hide()
         hide()
         emit_signal("hit")
         emit_signal("hit")