From f8a189f8918973e9426a09404adc03bd311b85a5 Mon Sep 17 00:00:00 2001 From: TchnlgPsnt <65353062+TchnlgPsnt@users.noreply.github.com> Date: Mon, 22 Mar 2021 14:04:12 -0400 Subject: [PATCH] Fixed small mistake in example (Thread Safe APIs) (#4778) Though it's a bit unrelated to the topic of this file, the example demonstrated creating an instance of an instance of a scene. (cherry picked from commit a0916221b328040eb743dc55ea6738fad0ac14ce) --- tutorials/threads/thread_safe_apis.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/threads/thread_safe_apis.rst b/tutorials/threads/thread_safe_apis.rst index e7ff2efb3..0a3081d59 100644 --- a/tutorials/threads/thread_safe_apis.rst +++ b/tutorials/threads/thread_safe_apis.rst @@ -34,7 +34,7 @@ However, creating scene chunks (nodes in tree arrangement) outside the active tr :: - var enemy_scene = load("res://enemy_scene.scn").instance() + var enemy_scene = load("res://enemy_scene.scn") var enemy = enemy_scene.instance() enemy.add_child(weapon) # Set a weapon. world.call_deferred("add_child", enemy)