diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index 6105e7826..ed52000a6 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -988,10 +988,11 @@ There are a few things to keep in mind here: to the ``State.gd`` base class even if it does nothing. Which brings us to the fact that you can pass literals in the base constructor as well, not just variables. Eg.: - :: - # Idle.gd +:: - func _init().(5): + # Idle.gd + + func _init().(5): pass Inner classes