summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerumelu <merumelu@protonmail.com>2019-11-12 16:42:32 +0100
committermerumelu <merumelu@protonmail.com>2019-11-12 16:43:31 +0100
commit3de002db30e6d24b185f99c0269018002913d6a3 (patch)
tree29eb6a6bde6baaf55cf604c0b3b04287378b3eb4
parent62a09a2ee351430f9d55eee337691958e877cc68 (diff)
Doc: Add return values for SceneTree::reload_current_scene
-rw-r--r--doc/classes/SceneTree.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml
index e14a3b3759..bf22b865d3 100644
--- a/doc/classes/SceneTree.xml
+++ b/doc/classes/SceneTree.xml
@@ -194,7 +194,7 @@
</return>
<description>
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>
</method>
<method name="set_auto_accept_quit">