summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-23 14:47:55 +0100
committerGitHub <noreply@github.com>2021-11-23 14:47:55 +0100
commit0cec0d35170695d7c8b803c67cb7266276ab886c (patch)
tree49e2ec0c34eb344f1d37405a39051a70f69879ce
parentc7007f83d50bdfa040aa6f249ead9000ed0d3aa4 (diff)
parent58a3ea545338eb237ed17993e264b632a53a5e10 (diff)
Merge pull request #55257 from KoBeWi/replace_by_void
-rw-r--r--doc/classes/Node.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml
index 6b3aa30dd2..8a12314ba8 100644
--- a/doc/classes/Node.xml
+++ b/doc/classes/Node.xml
@@ -571,6 +571,7 @@
<description>
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost.
If [code]keep_groups[/code] is [code]true[/code], the [code]node[/code] is added to the same groups that the replaced node is in.
+ Note that the replaced node is not automatically freed, so you either need to keep it in a variable for later use or free it using [method Object.free].
</description>
</method>
<method name="request_ready">