Browse Source

Clarify that SceneTree::quit() does not immediately end the application.

(cherry picked from commit 371d12a2f0a9425169df018ca99db71358c5a5af)
Phischermen 4 năm trước cách đây
mục cha
commit
776faa5c92
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      doc/classes/SceneTree.xml

+ 1 - 1
doc/classes/SceneTree.xml

@@ -188,7 +188,7 @@
 			<argument index="0" name="exit_code" type="int" default="-1">
 			</argument>
 			<description>
-				Quits the application. A process [code]exit_code[/code] can optionally be passed as an argument. If this argument is [code]0[/code] or greater, it will override the [member OS.exit_code] defined before quitting the application.
+				Quits the application at the end of the current iteration. A process [code]exit_code[/code] can optionally be passed as an argument. If this argument is [code]0[/code] or greater, it will override the [member OS.exit_code] defined before quitting the application.
 			</description>
 		</method>
 		<method name="reload_current_scene">