Merge pull request #43664 from Phischermen/quit-documentation

Clarify that SceneTree::quit() does not immediately end the application.
This commit is contained in:
Rémi Verschelde 2020-11-19 10:04:59 +01:00 committed by GitHub
commit 05b17d3dbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@
<argument index="0" name="exit_code" type="int" default="-1"> <argument index="0" name="exit_code" type="int" default="-1">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="reload_current_scene"> <method name="reload_current_scene">