From 3de002db30e6d24b185f99c0269018002913d6a3 Mon Sep 17 00:00:00 2001 From: merumelu Date: Tue, 12 Nov 2019 16:42:32 +0100 Subject: [PATCH] Doc: Add return values for SceneTree::reload_current_scene --- doc/classes/SceneTree.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index e14a3b37593..bf22b865d3d 100644 --- a/doc/classes/SceneTree.xml +++ b/doc/classes/SceneTree.xml @@ -194,7 +194,7 @@ 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.