Browse Source

Merge pull request #1471 from jaynabonne/patch-1

Update scripting_continued.rst
Max Hilbrunner 7 years ago
parent
commit
e63d91ffcf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getting_started/step_by_step/scripting_continued.rst

+ 2 - 2
getting_started/step_by_step/scripting_continued.rst

@@ -327,13 +327,13 @@ This erases the node safely during idle.
  .. code-tab:: gdscript GDScript
  .. code-tab:: gdscript GDScript
 
 
     func _someaction():
     func _someaction():
-        s.queue_free() # immediately removes the node from the scene and frees it
+        s.queue_free() # immediately removes the node from the scene and queues it to be freed at idle time
 
 
  .. code-tab:: csharp
  .. code-tab:: csharp
 
 
     public void _SomeAction()
     public void _SomeAction()
     {
     {
-        _sprite.QueueFree(); // immediately removes the node from the scene and frees it
+        _sprite.QueueFree(); // immediately removes the node from the scene and queues it to be freed at idle time
     }
     }
 
 
 Instancing scenes
 Instancing scenes