Browse Source

Fix missing quote in GDScript reference (#6123)

0xF812 3 years ago
parent
commit
b08b95d4f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/scripting/gdscript/gdscript_basics.rst

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

@@ -992,7 +992,7 @@ Here are some examples of expressions::
     do_something() # Function call.
     do_something() # Function call.
     [1, 2, 3] # Array definition.
     [1, 2, 3] # Array definition.
     {A = 1, B = 2} # Dictionary definition.
     {A = 1, B = 2} # Dictionary definition.
-    preload("res://icon.png) # Preload builtin function.
+    preload("res://icon.png") # Preload builtin function.
     self # Reference to current instance.
     self # Reference to current instance.
 
 
 Identifiers, attributes, and subscripts are valid assignment targets. Other expressions cannot be on the left side of
 Identifiers, attributes, and subscripts are valid assignment targets. Other expressions cannot be on the left side of