From b6bee06dd1ef71f95328fcab26dde14de15ee731 Mon Sep 17 00:00:00 2001 From: Jesus <198890+Jesus05@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:50:27 +0300 Subject: [PATCH 1/3] Style: remove braces on condition in godot code --- getting_started/first_3d_game/06.jump_and_squash.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_3d_game/06.jump_and_squash.rst b/getting_started/first_3d_game/06.jump_and_squash.rst index 7e5aa1d9976..ae0e5f6e34e 100644 --- a/getting_started/first_3d_game/06.jump_and_squash.rst +++ b/getting_started/first_3d_game/06.jump_and_squash.rst @@ -244,7 +244,7 @@ With this code, if no collisions occurred on a given frame, the loop won't run. var collision = get_slide_collision(index) # If the collision is with ground - if (collision.get_collider() == null): + if collision.get_collider() == null: continue # If the collider is with a mob From da50f944783a5241428112af491001c4d6bf1016 Mon Sep 17 00:00:00 2001 From: Jesus <198890+Jesus05@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:52:28 +0300 Subject: [PATCH 2/3] Update 07.killing_player.rst --- getting_started/first_3d_game/07.killing_player.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_3d_game/07.killing_player.rst b/getting_started/first_3d_game/07.killing_player.rst index d33b07c957a..db9447bdb05 100644 --- a/getting_started/first_3d_game/07.killing_player.rst +++ b/getting_started/first_3d_game/07.killing_player.rst @@ -384,7 +384,7 @@ Finally, the longest script, ``Player.gd``: var collision = get_slide_collision(index) # If the collision is with ground - if (collision.get_collider() == null): + if collision.get_collider() == null: continue # If the collider is with a mob From 9c97773e1b3cf92e5bdfc7954dbf719d1021430d Mon Sep 17 00:00:00 2001 From: Jesus <198890+Jesus05@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:54:22 +0300 Subject: [PATCH 3/3] Update 09.adding_animations.rst --- getting_started/first_3d_game/09.adding_animations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/first_3d_game/09.adding_animations.rst b/getting_started/first_3d_game/09.adding_animations.rst index bfc08876f97..353e86a6803 100644 --- a/getting_started/first_3d_game/09.adding_animations.rst +++ b/getting_started/first_3d_game/09.adding_animations.rst @@ -358,7 +358,7 @@ Here's the *Player* script. var collision = get_slide_collision(index) # If the collision is with ground - if (collision.get_collider() == null): + if collision.get_collider() == null: continue # If the collider is with a mob