Browse Source

Fix typo in code sample

Chris Bradfield 7 years ago
parent
commit
2867cce2c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      learning/step_by_step/your_first_game.rst

+ 1 - 1
learning/step_by_step/your_first_game.rst

@@ -285,7 +285,7 @@ Add this code to the function:
 
 ::
 
-    func _on_Player_body_entered( area ):
+    func _on_Player_body_entered( body ):
         hide() # Player disappears after being hit
         emit_signal("hit")
         monitoring = false