I am attempting to delete a child node, replace it with another child node, and add information to that replacement node.
(The task is part of loading data from a file.)
I have determined that when I call queue_free() it is not removing the node before the following code is executed.
I have attempted to add the data using call_deferred, but my implementation is not working. Even in the call_deferred function, the child is being created before the old child is deleted.