瀏覽代碼

Fix incorrect indentation in code sample in Creating movies

Hugo Locurcio 3 年之前
父節點
當前提交
51094d13fd
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)
         animation_finished.connect(_on_animation_player_animation_finished)
 
 
     func _on_animation_player_animation_finished(_anim_name):
     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
 Using high-quality graphics settings
 ------------------------------------
 ------------------------------------