浏览代码

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

(cherry picked from commit 371d12a2f0a9425169df018ca99db71358c5a5af)
Phischermen 4 年之前
父节点
当前提交
776faa5c92
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">