瀏覽代碼

fixed indentation causing render issue on code sample

bad indentation causing render error if this code sample
Alexander Morland 2 周之前
父節點
當前提交
b5965dddcd
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 4 - 4
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -2394,12 +2394,12 @@ There are a few things to keep in mind here:
    to the ``state.gd`` base class, even if it does nothing. This brings us to the fact that you
    can pass expressions to the base constructor as well, not just variables, e.g.:
 
-   ::
+::
 
-       # idle.gd
+    # idle.gd
 
-       func _init():
-           super(5)
+    func _init():
+        super(5)
 
 Static constructor
 ~~~~~~~~~~~~~~~~~~