浏览代码

Fix missing quote in GDScript reference (#6123)

0xF812 2 年之前
父节点
当前提交
b08b95d4f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.
     [1, 2, 3] # Array 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.
 
 Identifiers, attributes, and subscripts are valid assignment targets. Other expressions cannot be on the left side of