diff --git a/getting_started/first_2d_game/05.the_main_game_scene.rst b/getting_started/first_2d_game/05.the_main_game_scene.rst index a450ad2f8cb..ae4f2e775ee 100644 --- a/getting_started/first_2d_game/05.the_main_game_scene.rst +++ b/getting_started/first_2d_game/05.the_main_game_scene.rst @@ -224,10 +224,6 @@ Note that a new instance must be added to the scene using ``add_child()``. // We also specified this function name in PascalCase in the editor's connection window. private void OnMobTimerTimeout() { - // Note: Normally it is best to use explicit types rather than the `var` - // keyword. However, var is acceptable to use here because the types are - // obviously Mob and PathFollow2D, since they appear later on the line. - // Create a new instance of the Mob scene. Mob mob = MobScene.Instantiate();