Browse Source

Merge pull request #5992 from Calinou/creating-movies-fix-code-indentation

Fix incorrect indentation in code sample in Creating movies
Max Hilbrunner 3 years ago
parent
commit
0c9603a6d9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tutorials/animation/creating_movies.rst

+ 3 - 3
tutorials/animation/creating_movies.rst

@@ -238,9 +238,9 @@ quit the project when the animation is finished:
         animation_finished.connect(_on_animation_player_animation_finished)
 
     func _on_animation_player_animation_finished(_anim_name):
-	    if OS.has_feature("movie"):
-		    print("Done recording movie.")
-		    get_tree().quit()
+        if OS.has_feature("movie"):
+            print("Done recording movie.")
+            get_tree().quit()
 
 Using high-quality graphics settings
 ------------------------------------