Browse Source

fixed indentation causing render issue on code sample

bad indentation causing render error if this code sample
Alexander Morland 2 weeks ago
parent
commit
b5965dddcd
1 changed files with 4 additions and 4 deletions
  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
 ~~~~~~~~~~~~~~~~~~