Doc: Add return values for SceneTree::reload_current_scene
This commit is contained in:
parent
62a09a2ee3
commit
3de002db30
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Reloads the currently active scene.
|
Reloads the currently active scene.
|
||||||
Returns an [enum Error] code as described in [method change_scene], with the addition of [constant ERR_UNCONFIGURED] if no [member current_scene] was defined yet.
|
Returns [constant OK] on success, [constant ERR_UNCONFIGURED] if no [member current_scene] was defined yet, [constant ERR_CANT_OPEN] if [member current_scene] cannot be loaded into a [PackedScene], or [constant ERR_CANT_CREATE] if the scene cannot be instantiated.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_auto_accept_quit">
|
<method name="set_auto_accept_quit">
|
||||||
|
|
Loading…
Reference in a new issue